aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver.c b/driver.c
index afdaf860..cb651a64 100644
--- a/driver.c
+++ b/driver.c
@@ -848,7 +848,7 @@ char *realname; /* real name of host */
{
char *sp, *tp;
- for (sp = tp = headers; *sp; sp++)
+ for (sp = tp = errmsg; *sp; sp++)
if (*sp != '\r')
*tp++ = *sp;
*tp = '\0';
@@ -913,7 +913,7 @@ char *realname; /* real name of host */
{
char *sp, *tp;
- for (sp = tp = headers; *sp; sp++)
+ for (sp = tp = buf; *sp; sp++)
if (*sp != '\r')
*tp++ = *sp;
*tp = '\0';