aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-01-29 19:41:08 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-01-29 19:41:08 +0000
commiteb6324bf32a8be5b2764a0d4283d0f524147b765 (patch)
tree96fbb1a1232cbad35a69bb91282eccff6769b660 /driver.c
parent5f8ae577af5c85d29b8d14704441b4e46ea350fe (diff)
downloadfetchmail-eb6324bf32a8be5b2764a0d4283d0f524147b765.tar.gz
fetchmail-eb6324bf32a8be5b2764a0d4283d0f524147b765.tar.bz2
fetchmail-eb6324bf32a8be5b2764a0d4283d0f524147b765.zip
Avoid that core-dump!
svn path=/trunk/; revision=838
Diffstat (limited to 'driver.c')
-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';