From eb6324bf32a8be5b2764a0d4283d0f524147b765 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 29 Jan 1997 19:41:08 +0000 Subject: Avoid that core-dump! svn path=/trunk/; revision=838 --- driver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'driver.c') 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'; -- cgit v1.2.3