Mailing List Archive

r1838 - trunk/varnish-cache/bin/varnishd
Author: des
Date: 2007-08-13 20:00:50 +0200 (Mon, 13 Aug 2007)
New Revision: 1838

Modified:
trunk/varnish-cache/bin/varnishd/cache_http.c
Log:
Correct three bits worth of line noise. This fixes #129.


Modified: trunk/varnish-cache/bin/varnishd/cache_http.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_http.c 2007-08-13 17:58:09 UTC (rev 1837)
+++ trunk/varnish-cache/bin/varnishd/cache_http.c 2007-08-13 18:00:50 UTC (rev 1838)
@@ -326,7 +326,7 @@
return (0);

if (len == 0)
- len = hp->pl_e - hp->pl_e;
+ len = hp->pl_e - hp->pl_s;

if (hp->pl_s + len > hp->pl_e)
len = hp->pl_e - hp->pl_s;