aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-01-30 04:04:13 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-01-30 04:04:13 +0000
commit1c96cabbb2eae8a779aab3d13c9795381382a700 (patch)
treec4db2a67c51fd8803be2189481209332d43cc814 /driver.c
parenteb6324bf32a8be5b2764a0d4283d0f524147b765 (diff)
downloadfetchmail-1c96cabbb2eae8a779aab3d13c9795381382a700.tar.gz
fetchmail-1c96cabbb2eae8a779aab3d13c9795381382a700.tar.bz2
fetchmail-1c96cabbb2eae8a779aab3d13c9795381382a700.zip
Prevent some duplicated headers.
svn path=/trunk/; revision=839
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 cb651a64..d11d8c2a 100644
--- a/driver.c
+++ b/driver.c
@@ -776,10 +776,10 @@ char *realname; /* real name of host */
*tp++ = *sp;
*tp = '\0';
- n = fwrite(headers, 1, oldlen, sinkfp);
+ n = fwrite(headers, 1, strlen(headers), sinkfp);
}
else
- n = SockWrite(headers, 1, oldlen, sinkfp);
+ n = SockWrite(headers, 1, strlen(headers), sinkfp);
if (n < 0)
{