diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-01-30 04:04:13 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-01-30 04:04:13 +0000 |
commit | 1c96cabbb2eae8a779aab3d13c9795381382a700 (patch) | |
tree | c4db2a67c51fd8803be2189481209332d43cc814 /driver.c | |
parent | eb6324bf32a8be5b2764a0d4283d0f524147b765 (diff) | |
download | fetchmail-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |