Removed some heavy debugging with RFC message processing
This commit is contained in:
parent
51afb78b2b
commit
4569e7233f
@ -79,6 +79,8 @@ v0.35.06
|
|||||||
Changed some logging to debug with auto create areas.
|
Changed some logging to debug with auto create areas.
|
||||||
Request messages sent to the uplinks are now logged in the
|
Request messages sent to the uplinks are now logged in the
|
||||||
manager logfile.
|
manager logfile.
|
||||||
|
Removed heavy debugging on some parts of RFC message
|
||||||
|
processing.
|
||||||
|
|
||||||
mbcico:
|
mbcico:
|
||||||
With filetransfer errors, the attempts counter was not
|
With filetransfer errors, the attempts counter was not
|
||||||
|
@ -59,7 +59,6 @@ extern int net_in; /* Total netmails processed */
|
|||||||
extern int net_out; /* Netmails exported */
|
extern int net_out; /* Netmails exported */
|
||||||
extern int net_imp; /* Netmails imported */
|
extern int net_imp; /* Netmails imported */
|
||||||
extern int net_bad; /* Bad netmails */
|
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.
|
* Send this netmail via ftn2rfc -> postemail.
|
||||||
*/
|
*/
|
||||||
most_debug = TRUE;
|
|
||||||
result = ftn2rfc(f, t, subject, orig, mdate, flags, fp);
|
result = ftn2rfc(f, t, subject, orig, mdate, flags, fp);
|
||||||
most_debug = FALSE;
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -278,9 +275,7 @@ int postnetmail(FILE *fp, faddr *f, faddr *t, char *orig, char *subject, time_t
|
|||||||
break;
|
break;
|
||||||
case FILEMGR: result = FileMgr(f, t, msgid, subject, mdate, flags, fp);
|
case FILEMGR: result = FileMgr(f, t, msgid, subject, mdate, flags, fp);
|
||||||
break;
|
break;
|
||||||
case EMAIL: most_debug = TRUE;
|
case EMAIL: result = ftn2rfc(f, t, subject, orig, mdate, flags, fp);
|
||||||
result = ftn2rfc(f, t, subject, orig, mdate, flags, fp);
|
|
||||||
most_debug = FALSE;
|
|
||||||
if (result) {
|
if (result) {
|
||||||
if (result == 2)
|
if (result == 2)
|
||||||
Bounce(f, t, fp, (char *)"Could not post email");
|
Bounce(f, t, fp, (char *)"Could not post email");
|
||||||
|
@ -96,7 +96,6 @@ static HEADER RequiredHeaders[] = {
|
|||||||
* External variables
|
* External variables
|
||||||
*/
|
*/
|
||||||
extern int do_quiet;
|
extern int do_quiet;
|
||||||
extern int most_debug;
|
|
||||||
extern int news_in;
|
extern int news_in;
|
||||||
extern int news_dupe;
|
extern int news_dupe;
|
||||||
extern int check_dupe;
|
extern int check_dupe;
|
||||||
@ -556,9 +555,7 @@ void NewsUUCP(void)
|
|||||||
printf("Process UUCP Newsbatch\n");
|
printf("Process UUCP Newsbatch\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
most_debug = TRUE;
|
|
||||||
rc = UnpackOne(&fd, &i);
|
rc = UnpackOne(&fd, &i);
|
||||||
most_debug = FALSE;
|
|
||||||
WaitForChildren(i);
|
WaitForChildren(i);
|
||||||
Syslog('+', "End of UUCP batch, rc=%d", rc);
|
Syslog('+', "End of UUCP batch, rc=%d", rc);
|
||||||
do_flush = TRUE;
|
do_flush = TRUE;
|
||||||
|
@ -68,7 +68,6 @@ int marker = 0;
|
|||||||
*/
|
*/
|
||||||
extern int do_quiet;
|
extern int do_quiet;
|
||||||
extern int do_learn;
|
extern int do_learn;
|
||||||
extern int most_debug;
|
|
||||||
extern int news_in;
|
extern int news_in;
|
||||||
extern int news_imp;
|
extern int news_imp;
|
||||||
extern int news_dupe;
|
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.
|
* If the message isn't a dupe, it must be new for us.
|
||||||
*/
|
*/
|
||||||
most_debug = TRUE;
|
|
||||||
get_article(tmp->msgid, ftntag);
|
get_article(tmp->msgid, ftntag);
|
||||||
most_debug = FALSE;
|
|
||||||
fetched++;
|
fetched++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user