Commit 7b299a4b authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Polish


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2023 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent a857dbd0
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment