diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-01-29 19:41:08 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-01-29 19:41:08 +0000 |
commit | eb6324bf32a8be5b2764a0d4283d0f524147b765 (patch) | |
tree | 96fbb1a1232cbad35a69bb91282eccff6769b660 /driver.c | |
parent | 5f8ae577af5c85d29b8d14704441b4e46ea350fe (diff) | |
download | fetchmail-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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'; |