From e4eadf53fd6fa9cce65e7b73249f66d337d0c847 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 26 Oct 1998 15:02:50 +0000 Subject: More instrumentation. svn path=/trunk/; revision=2134 --- rfc822.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'rfc822.c') 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); } -- cgit v1.2.3