diff options
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) { |