Fixed logging of 0 articles in scannews.
This commit is contained in:
parent
54e96cf793
commit
7967ad4417
@ -9,6 +9,7 @@ v0.61.3 25-Jul-2004
|
|||||||
|
|
||||||
mbfido:
|
mbfido:
|
||||||
Changed netmail counters in the .msg import function.
|
Changed netmail counters in the .msg import function.
|
||||||
|
Fixed logging of 0 articles in scannews.
|
||||||
|
|
||||||
|
|
||||||
v0.61.2 11-Jul-2004 - 25-Jul-2004
|
v0.61.2 11-Jul-2004 - 25-Jul-2004
|
||||||
|
@ -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);
|
Syslog('m', "NEW: total %d, start %d, end %d", total, start, end);
|
||||||
}
|
}
|
||||||
if (!total) {
|
if (!total) {
|
||||||
|
Syslog('+', "Fetched 0 articles from %s", grpname);
|
||||||
return RETVAL_NOARTICLES;
|
return RETVAL_NOARTICLES;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -321,7 +322,7 @@ int do_one_group(List **art, char *grpname, char *ftntag, int maxarticles)
|
|||||||
if ((maxarticles) && (fetched == maxarticles))
|
if ((maxarticles) && (fetched == maxarticles))
|
||||||
Syslog('!', "Warning: the max. articles value in newsgroup %s might be to low", grpname);
|
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;
|
return RETVAL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user