Added debug logging
This commit is contained in:
parent
9e51c6dba7
commit
bc6bff0ec0
@ -5,6 +5,7 @@ v0.71.5 18-Aug-2005
|
||||
mbfido:
|
||||
Removed debug logging for solved crash.
|
||||
Code cleanup.
|
||||
Added debug logging in rfc2ftn to track a rare problem.
|
||||
|
||||
mbdiff:
|
||||
Code cleanup.
|
||||
|
@ -343,7 +343,7 @@ int rfc2ftn(FILE *fp, faddr *recipient)
|
||||
charset_set_in_out(charset,getrfcchrs(msgs.Charset));
|
||||
|
||||
do {
|
||||
Syslog('m', "split loop, splitpart = %d", splitpart);
|
||||
Syslog('m', "rfc2ftn: split loop, splitpart = %d", splitpart);
|
||||
datasize = 0;
|
||||
|
||||
if (splitpart) {
|
||||
@ -734,15 +734,22 @@ int rfc2ftn(FILE *fp, faddr *recipient)
|
||||
rc = postnetmail(ofp, fmsg->from, fmsg->to, origin, fmsg->subj, fmsg->date,
|
||||
fmsg->flags, FALSE, fmsg->from->zone, fmsg->to->zone);
|
||||
|
||||
Syslog('m', "rfc2ftn: message posted rc=%d", rc);
|
||||
|
||||
free(origin);
|
||||
fclose(ofp);
|
||||
} while (needsplit);
|
||||
|
||||
Syslog('m', "rfc2ftn: out of splitloop");
|
||||
|
||||
free(temp);
|
||||
if (charset)
|
||||
free(charset);
|
||||
tidyrfc(msg);
|
||||
tidy_ftnmsg(fmsg);
|
||||
|
||||
Syslog('m', "rfc2ftn: memory freed");
|
||||
|
||||
UpdateMsgs();
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user