From ef2522796a1ffed3ea16341965586826cc056d04 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Mon, 14 Jan 2002 16:44:47 +0000 Subject: [PATCH] Added max articles in structure --- lib/structs.h | 2 ++ mbfido/scannews.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lib/structs.h b/lib/structs.h index a9ab5412..3a40cf05 100644 --- a/lib/structs.h +++ b/lib/structs.h @@ -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 */ }; diff --git a/mbfido/scannews.c b/mbfido/scannews.c index 2d7e1d2f..0220a405 100644 --- a/mbfido/scannews.c +++ b/mbfido/scannews.c @@ -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;