From: phk Date: Tue, 25 Sep 2007 07:21:40 +0000 (+0000) Subject: Polish X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=972d9afc2ff6b85c4e81759ea86d57217ac50296;p=varnish Polish git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2023 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_http.c b/varnish-cache/bin/varnishd/cache_http.c index 661ef966..ef7237be 100644 --- a/varnish-cache/bin/varnishd/cache_http.c +++ b/varnish-cache/bin/varnishd/cache_http.c @@ -616,7 +616,6 @@ http_RecvPrep(struct http *hp) hp->rx_s = hp->ws->f; hp->rx_e = hp->rx_s; if (hp->pl_s != NULL) { - assert(hp->pl_s < hp->pl_e); l = pdiff(hp->pl_s, hp->pl_s); memmove(hp->rx_s, hp->pl_s, l); hp->rx_e = hp->rx_s + l; @@ -857,7 +856,7 @@ http_CopyHome(struct worker *w, int fd, struct http *hp) WSLH(w, htt, fd, hp, u); continue; } - l = pdiff(hp->hd[u].b, hp->hd[u].e); + l = pdiff(hp->hd[u].b, hp->hd[u].e); p = WS_Alloc(hp->ws, l + 1); if (p != NULL) { WSLH(w, htt, fd, hp, u);