From 19109745e1ce5c3d5c291855430717c5d97fcd27 Mon Sep 17 00:00:00 2001 From: des Date: Mon, 13 Aug 2007 18:00:50 +0000 Subject: [PATCH] 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 --- varnish-cache/bin/varnishd/cache_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5