Made some bug fixes final

This commit is contained in:
Michiel Broek
2002-10-18 18:23:35 +00:00
parent dea60eb245
commit 1c8e9f2769
6 changed files with 17 additions and 32 deletions

View File

@@ -77,7 +77,6 @@ static int dirtyoutcode = CHRS_NOTSET;
*/
extern int do_quiet;
extern int do_learn;
extern int most_debug;
extern int news_in;
extern int email_in;
extern char *replyaddr;

View File

@@ -189,15 +189,12 @@ 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()) {
most_debug = FALSE;
return;
}
@@ -248,7 +245,6 @@ most_debug = FALSE;
free(tmp);
}
do_flush = TRUE;
most_debug = FALSE;
if (!do_quiet)
printf("\r \r");
}
@@ -303,9 +299,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++;
}
}
@@ -519,7 +515,6 @@ int get_xoverview(void)
}
if ((tmp = xoverview) != NULL) {
// most_debug = TRUE;
Syslog('N', "--Xoverview.fmt list");
while (tmp != NULL) {
if (tmp->header != NULL) {
@@ -527,7 +522,6 @@ int get_xoverview(void)
}
tmp = tmp->next;
}
// most_debug = FALSE;
}
} else {
return 1;

View File

@@ -59,7 +59,6 @@ extern int do_quiet;
extern int do_unsec;
extern int check_dupe;
extern time_t t_start;
extern int most_debug;