diff --git a/ChangeLog b/ChangeLog index f9d4ea32..719d1570 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,7 @@ v0.61.3 25-Jul-2004 mbfido: Changed netmail counters in the .msg import function. + Fixed logging of 0 articles in scannews. v0.61.2 11-Jul-2004 - 25-Jul-2004 diff --git a/mbfido/scannews.c b/mbfido/scannews.c index 59a7022d..54b7e96a 100644 --- a/mbfido/scannews.c +++ b/mbfido/scannews.c @@ -295,6 +295,7 @@ int do_one_group(List **art, char *grpname, char *ftntag, int maxarticles) Syslog('m', "NEW: total %d, start %d, end %d", total, start, end); } if (!total) { + Syslog('+', "Fetched 0 articles from %s", grpname); return RETVAL_NOARTICLES; } @@ -321,7 +322,7 @@ int do_one_group(List **art, char *grpname, char *ftntag, int maxarticles) if ((maxarticles) && (fetched == maxarticles)) Syslog('!', "Warning: the max. articles value in newsgroup %s might be to low", grpname); - Syslog('+', "Fetched %d message%s from %s", fetched, (fetched == 1) ? "":"s", grpname); + Syslog('+', "Fetched %d article%s from %s", fetched, (fetched == 1) ? "":"s", grpname); return RETVAL_OK; }