From: wessels <> Date: Thu, 22 May 1997 23:28:51 +0000 (+0000) Subject: fix body size calculation X-Git-Tag: SQUID_3_0_PRE1~4988 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e5aec4483457ac8a90ce07927e54fd25d0ea161;p=thirdparty%2Fsquid.git fix body size calculation --- diff --git a/src/http.cc b/src/http.cc index ca07e600df..9bc243de56 100644 --- a/src/http.cc +++ b/src/http.cc @@ -1,5 +1,5 @@ /* - * $Id: http.cc,v 1.162 1997/05/22 15:51:54 wessels Exp $ + * $Id: http.cc,v 1.163 1997/05/22 17:28:51 wessels Exp $ * * DEBUG: section 11 Hypertext Transfer Protocol (HTTP) * AUTHOR: Harvest Derived @@ -744,7 +744,7 @@ httpBuildRequestHeader(request_t * request, } httpAppendRequestHeader(hdr_out, xbuf, &len, out_sz - 512); } - hdr_len = t - hdr_in; + hdr_len = end - hdr_in; /* Append Via: */ sprintf(ybuf, "%3.1f %s", orig_request->http_ver, ThisCache); strcat(viabuf, ybuf);