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 */
|
char nntppass[16]; /* NNTP password */
|
||||||
long nntpdupes; /* NNTP dupes database size */
|
long nntpdupes; /* NNTP dupes database size */
|
||||||
int newsfeed; /* Newsfeed mode */
|
int newsfeed; /* Newsfeed mode */
|
||||||
|
int maxarticles; /* Default max articles */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -891,6 +892,7 @@ struct msgareas {
|
|||||||
char Moderator[65]; /* Moderator/Email-address */
|
char Moderator[65]; /* Moderator/Email-address */
|
||||||
int Rfccode; /* RFC characterset */
|
int Rfccode; /* RFC characterset */
|
||||||
int Ftncode; /* FTN 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, " "));
|
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 (!total) {
|
if (!total) {
|
||||||
Syslog('N', "No articles");
|
Syslog('N', "No articles");
|
||||||
return RETVAL_OK;
|
return RETVAL_OK;
|
||||||
@ -377,6 +378,7 @@ int get_xover(char *grpname, long startnr, long endnr, List **art)
|
|||||||
done = TRUE;
|
done = TRUE;
|
||||||
} else {
|
} else {
|
||||||
Marker();
|
Marker();
|
||||||
|
Nopper();
|
||||||
pov = xoverview;
|
pov = xoverview;
|
||||||
ptr = resp;
|
ptr = resp;
|
||||||
ptr2 = ptr;
|
ptr2 = ptr;
|
||||||
|
Reference in New Issue
Block a user