aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}