Small updates, remarks

This commit is contained in:
Michiel Broek 2002-08-28 19:49:24 +00:00
parent 040c0a37e5
commit c71ca269b8
3 changed files with 16 additions and 6 deletions

View File

@ -2,6 +2,8 @@ $Id$
WARNING: Extra debug logging enabled for checking internet news dupes.
This will just make bigger logfiles if you gate news.
Since 28-08-2002 mbfido news produces real big logs!!
MBSEBBS History.

4
TODO
View File

@ -14,6 +14,10 @@ $Id$
L = Cosmetic or nice to have.
libdiesel.a:
U: Processed stringlines containing unbalanced " characters are not
processed, instead the previous macro value will be returned.
mbsebbs:
L: Must include SEEN-BY and other hidden lines into BlueWave and QWK
mail, must be user selectable. see remarks of William McBrine.

View File

@ -189,13 +189,17 @@ void ScanNews(void)
struct msgareashdr Msgshdr;
struct msgareas Msgs;
most_debug = TRUE;
IsDoing((char *)"Scan News");
if (nntp_connect() == -1) {
WriteError("Can't connect to newsserver");
most_debug = FALSE;
return;
}
if (get_xoverview())
if (get_xoverview()) {
most_debug = FALSE;
return;
}
if (!do_quiet) {
colour(10, 0);
@ -244,7 +248,7 @@ void ScanNews(void)
free(tmp);
}
do_flush = TRUE;
most_debug = FALSE;
if (!do_quiet)
printf("\r \r");
}
@ -299,9 +303,9 @@ int do_one_group(List **art, char *grpname, char *ftntag, int maxarticles)
/*
* If the message isn't a dupe, it must be new for us.
*/
most_debug = TRUE;
// most_debug = TRUE;
get_article(tmp->msgid, ftntag);
most_debug = FALSE;
// most_debug = FALSE;
fetched++;
}
}
@ -515,7 +519,7 @@ int get_xoverview(void)
}
if ((tmp = xoverview) != NULL) {
most_debug = TRUE;
// most_debug = TRUE;
Syslog('N', "--Xoverview.fmt list");
while (tmp != NULL) {
if (tmp->header != NULL) {
@ -523,7 +527,7 @@ int get_xoverview(void)
}
tmp = tmp->next;
}
most_debug = FALSE;
// most_debug = FALSE;
}
} else {
return 1;