diff --git a/ChangeLog b/ChangeLog index 3ed1373f..12fb7b95 100644 --- a/ChangeLog +++ b/ChangeLog @@ -79,6 +79,8 @@ v0.35.06 Changed some logging to debug with auto create areas. Request messages sent to the uplinks are now logged in the manager logfile. + Removed heavy debugging on some parts of RFC message + processing. mbcico: With filetransfer errors, the attempts counter was not diff --git a/mbfido/postnetmail.c b/mbfido/postnetmail.c index a486b30e..eb782de0 100644 --- a/mbfido/postnetmail.c +++ b/mbfido/postnetmail.c @@ -59,7 +59,6 @@ extern int net_in; /* Total netmails processed */ extern int net_out; /* Netmails exported */ extern int net_imp; /* Netmails imported */ extern int net_bad; /* Bad netmails */ -extern int most_debug; /* Headvy debugging flag */ @@ -244,9 +243,7 @@ int postnetmail(FILE *fp, faddr *f, faddr *t, char *orig, char *subject, time_t /* * Send this netmail via ftn2rfc -> postemail. */ - most_debug = TRUE; result = ftn2rfc(f, t, subject, orig, mdate, flags, fp); - most_debug = FALSE; return result; } @@ -278,9 +275,7 @@ int postnetmail(FILE *fp, faddr *f, faddr *t, char *orig, char *subject, time_t break; case FILEMGR: result = FileMgr(f, t, msgid, subject, mdate, flags, fp); break; - case EMAIL: most_debug = TRUE; - result = ftn2rfc(f, t, subject, orig, mdate, flags, fp); - most_debug = FALSE; + case EMAIL: result = ftn2rfc(f, t, subject, orig, mdate, flags, fp); if (result) { if (result == 2) Bounce(f, t, fp, (char *)"Could not post email"); diff --git a/mbfido/rnews.c b/mbfido/rnews.c index 44b8d38a..76a0c96c 100644 --- a/mbfido/rnews.c +++ b/mbfido/rnews.c @@ -96,7 +96,6 @@ static HEADER RequiredHeaders[] = { * External variables */ extern int do_quiet; -extern int most_debug; extern int news_in; extern int news_dupe; extern int check_dupe; @@ -556,9 +555,7 @@ void NewsUUCP(void) printf("Process UUCP Newsbatch\n"); } - most_debug = TRUE; rc = UnpackOne(&fd, &i); - most_debug = FALSE; WaitForChildren(i); Syslog('+', "End of UUCP batch, rc=%d", rc); do_flush = TRUE; diff --git a/mbfido/scannews.c b/mbfido/scannews.c index c7a76cbe..327283d1 100644 --- a/mbfido/scannews.c +++ b/mbfido/scannews.c @@ -68,7 +68,6 @@ int marker = 0; */ extern int do_quiet; extern int do_learn; -extern int most_debug; extern int news_in; extern int news_imp; extern int news_dupe; @@ -299,9 +298,7 @@ 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; get_article(tmp->msgid, ftntag); - most_debug = FALSE; fetched++; } }