]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
fix body size calculation
authorwessels <>
Thu, 22 May 1997 23:28:51 +0000 (23:28 +0000)
committerwessels <>
Thu, 22 May 1997 23:28:51 +0000 (23:28 +0000)
src/http.cc

index ca07e600df25e0863cc2b4f2a670338ce6a6dc50..9bc243de56b96b9405888625bc46800d2c11f6be 100644 (file)
@@ -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);