aboutsummaryrefslogtreecommitdiffstats
path: root/rfc822.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-10-26 15:02:50 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-10-26 15:02:50 +0000
commite4eadf53fd6fa9cce65e7b73249f66d337d0c847 (patch)
treea24f3d7564e39e70e1cc0c2db7eba5b973527a33 /rfc822.c
parent8f32f5842c6020a093ff65fed3372d0935b4a9e4 (diff)
downloadfetchmail-e4eadf53fd6fa9cce65e7b73249f66d337d0c847.tar.gz
fetchmail-e4eadf53fd6fa9cce65e7b73249f66d337d0c847.tar.bz2
fetchmail-e4eadf53fd6fa9cce65e7b73249f66d337d0c847.zip
More instrumentation.
svn path=/trunk/; revision=2134
Diffstat (limited to 'rfc822.c')
-rw-r--r--rfc822.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/rfc822.c b/rfc822.c
index 9b574b55..08805d93 100644
--- a/rfc822.c
+++ b/rfc822.c
@@ -49,6 +49,9 @@ const char *host; /* server hostname */
}
#ifndef TESTMAIN
+ if (outlevel >= O_DEBUG)
+ error_build(0, 0, "About to rewrite %s", buf);
+#else
/* make room to hack the address; buf must be malloced */
for (cp = buf; *cp; cp++)
if (*cp == ',' || isspace(*cp))
@@ -170,6 +173,10 @@ const char *host; /* server hostname */
}
}
+#ifndef TESTMAIN
+ if (outlevel >= O_DEBUG)
+ error_complete(0, 0, "Rewritten version is %s", buf);
+#endif /* TESTMAIN */
return(buf);
}