aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
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)
{