From 5871abcfe698a8ee9cfc624db2d8b65b5823857c Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sun, 18 Feb 2007 18:43:03 +0000 Subject: [PATCH] Added debug logging --- mbfido/ftn2rfc.c | 2 ++ mbfido/rfc2ftn.c | 1 + 2 files changed, 3 insertions(+) diff --git a/mbfido/ftn2rfc.c b/mbfido/ftn2rfc.c index e2636aab..b54731c4 100644 --- a/mbfido/ftn2rfc.c +++ b/mbfido/ftn2rfc.c @@ -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', "ftn2rfc: charset in: %s charset out: %s", charset, getrfcchrs(msgs.Charset)); + #ifndef USE_EXPERIMENT /* * Setup charset conversion diff --git a/mbfido/rfc2ftn.c b/mbfido/rfc2ftn.c index 4a70278a..709aec4b 100644 --- a/mbfido/rfc2ftn.c +++ b/mbfido/rfc2ftn.c @@ -343,6 +343,7 @@ int rfc2ftn(FILE *fp, faddr *recipient) if (fmsg->to) 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 /* * Setup charset conversion