Added max articles in structure
This commit is contained in:
parent
f18670f3fe
commit
ef2522796a
@ -772,6 +772,7 @@ struct sysconfig {
|
||||
char nntppass[16]; /* NNTP password */
|
||||
long nntpdupes; /* NNTP dupes database size */
|
||||
int newsfeed; /* Newsfeed mode */
|
||||
int maxarticles; /* Default max articles */
|
||||
};
|
||||
|
||||
|
||||
@ -891,6 +892,7 @@ struct msgareas {
|
||||
char Moderator[65]; /* Moderator/Email-address */
|
||||
int Rfccode; /* RFC characterset */
|
||||
int Ftncode; /* FTN characterset */
|
||||
int MaxArticles; /* Max. newsarticles to get */
|
||||
};
|
||||
|
||||
|
||||
|
@ -269,6 +269,7 @@ int do_one_group(List **art, char *grpname, char *ftntag)
|
||||
total = atol(strtok(NULL, " "));
|
||||
start = atol(strtok(NULL, " "));
|
||||
end = atol(strtok(NULL, " '\0'"));
|
||||
Syslog('n', "GROUP total %d, start %d, end %d", total, start, end);
|
||||
if (!total) {
|
||||
Syslog('N', "No articles");
|
||||
return RETVAL_OK;
|
||||
@ -377,6 +378,7 @@ int get_xover(char *grpname, long startnr, long endnr, List **art)
|
||||
done = TRUE;
|
||||
} else {
|
||||
Marker();
|
||||
Nopper();
|
||||
pov = xoverview;
|
||||
ptr = resp;
|
||||
ptr2 = ptr;
|
||||
|
Reference in New Issue
Block a user