From 603713f9cc91d3d9b3776b440e77d793cb887935 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sat, 20 Aug 2005 11:20:24 +0000 Subject: [PATCH] Added debug logging --- mbfido/mkftnhdr.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mbfido/mkftnhdr.c b/mbfido/mkftnhdr.c index 142db548..b316823b 100644 --- a/mbfido/mkftnhdr.c +++ b/mbfido/mkftnhdr.c @@ -71,6 +71,8 @@ int ftnmsgid(char *msgid, char **s, unsigned long *n, char *areaname) faddr *tmp; static int ftnorigin = 0; + Syslog('m', "Make ftn msgid from \"%s\"", MBSE_SS(msgid)); + if (msgid == NULL) { *s = NULL; *n = 0L; @@ -228,6 +230,8 @@ ftnmsg *mkftnhdr(rfcmsg *msg, int newsmode, faddr *recipient) if (p == NULL) p = xstrcpy(hdr((char *)"To", msg)); /* 14-Aug-2001 MB */ if (p) { + Syslog('m', "Getting `to' address from \"%s\"", MBSE_SS(p)); + if ((tmsg->to = parsefaddr(p)) == NULL) tmsg->to = parsefaddr((char *)"All@p0.f0.n0.z0"); if ((l = strrchr(p,'<')) && (r = strchr(p,'>')) && (l < r)) {