From 1c96cabbb2eae8a779aab3d13c9795381382a700 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 30 Jan 1997 04:04:13 +0000 Subject: Prevent some duplicated headers. svn path=/trunk/; revision=839 --- driver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'driver.c') 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) { -- cgit v1.2.3