From: des Date: Mon, 13 Aug 2007 18:00:50 +0000 (+0000) Subject: Correct three bits worth of line noise. This fixes #129. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19109745e1ce5c3d5c291855430717c5d97fcd27;p=varnish Correct three bits worth of line noise. This fixes #129. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1838 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_http.c b/varnish-cache/bin/varnishd/cache_http.c index fc3854f7..e4d87c93 100644 --- a/varnish-cache/bin/varnishd/cache_http.c +++ b/varnish-cache/bin/varnishd/cache_http.c @@ -326,7 +326,7 @@ http_GetTail(struct http *hp, unsigned len, char **b, char **e) 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;