]> err.no Git - varnish/commitdiff
typo
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 25 Sep 2007 07:22:58 +0000 (07:22 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 25 Sep 2007 07:22:58 +0000 (07:22 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2024 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_http.c

index ef7237be384fdaed08fb716a8f6833291fc4f21a..c8cd06a9f3edf8fd595433b4b7c64425424759d4 100644 (file)
@@ -616,7 +616,7 @@ http_RecvPrep(struct http *hp)
        hp->rx_s = hp->ws->f;
        hp->rx_e = hp->rx_s;
        if (hp->pl_s != NULL) {
-               l = pdiff(hp->pl_s, hp->pl_s);
+               l = pdiff(hp->pl_s, hp->pl_e);
                memmove(hp->rx_s, hp->pl_s, l);
                hp->rx_e = hp->rx_s + l;
                hp->pl_s = hp->pl_e = NULL;