Added debug logging

This commit is contained in:
Michiel Broek 2007-02-18 18:43:03 +00:00
parent 5d2370c276
commit 5871abcfe6
2 changed files with 3 additions and 0 deletions

View File

@ -693,6 +693,8 @@ int ftn2rfc(faddr *f, faddr *t, char *subj, char *origline, time_t mdate, int fl
Syslog('m', "Prepare is ready"); Syslog('m', "Prepare is ready");
} }
Syslog('m', "ftn2rfc: charset in: %s charset out: %s", charset, getrfcchrs(msgs.Charset));
#ifndef USE_EXPERIMENT #ifndef USE_EXPERIMENT
/* /*
* Setup charset conversion * Setup charset conversion

View File

@ -343,6 +343,7 @@ int rfc2ftn(FILE *fp, faddr *recipient)
if (fmsg->to) if (fmsg->to)
hdrsize += (fmsg->to->name)?strlen(fmsg->to->name):0; hdrsize += (fmsg->to->name)?strlen(fmsg->to->name):0;
Syslog('m', "rfc2ftn: charset in: %s charset out: %s", charset,getrfcchrs(msgs.Charset));
#ifndef USE_EXPERIMENT #ifndef USE_EXPERIMENT
/* /*
* Setup charset conversion * Setup charset conversion