]> err.no Git - varnish/commitdiff
Correct three bits worth of line noise. This fixes #129.
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 13 Aug 2007 18:00:50 +0000 (18:00 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 13 Aug 2007 18:00:50 +0000 (18:00 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1838 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_http.c

index fc3854f73bdf70069c7697ee78ea661aff0b6b82..e4d87c93b4996a2b68cbd0155d06e34d9527f55f 100644 (file)
@@ -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;