Fix for scannews
This commit is contained in:
parent
1b9fa1f09b
commit
fad042b480
@ -269,11 +269,12 @@ int do_one_group(List **art, char *grpname, char *ftntag)
|
|||||||
total = atol(strtok(NULL, " "));
|
total = atol(strtok(NULL, " "));
|
||||||
start = atol(strtok(NULL, " "));
|
start = atol(strtok(NULL, " "));
|
||||||
end = atol(strtok(NULL, " '\0'"));
|
end = atol(strtok(NULL, " '\0'"));
|
||||||
|
Syslog('n', "GROUP total %d, start %d, end %d", total, start, end);
|
||||||
if ((msgs.MaxArticles) && (total > msgs.MaxArticles)) {
|
if ((msgs.MaxArticles) && (total > msgs.MaxArticles)) {
|
||||||
start = end - msgs.MaxArticles;
|
start = end - msgs.MaxArticles;
|
||||||
total = msgs.MaxArticles;
|
total = msgs.MaxArticles;
|
||||||
|
Syslog('n', "NEW: total %d, start %d, end %d", total, start, end);
|
||||||
}
|
}
|
||||||
Syslog('n', "GROUP total %d, start %d, end %d", total, start, end);
|
|
||||||
if (!total) {
|
if (!total) {
|
||||||
Syslog('N', "No articles");
|
Syslog('N', "No articles");
|
||||||
return RETVAL_OK;
|
return RETVAL_OK;
|
||||||
|
Reference in New Issue
Block a user