]> err.no Git - varnish/commitdiff
another place we can use Tlen
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 26 Sep 2007 19:20:17 +0000 (19:20 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 26 Sep 2007 19:20:17 +0000 (19:20 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2047 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_fetch.c

index d2908d015d1e58f7a157460f7838f38882ea5984..76814a17695e627b61ebe4905380d2bc7545b8ff 100644 (file)
@@ -326,7 +326,7 @@ Fetch(struct sess *sp)
        CHECK_OBJ_NOTNULL(sp->backend, BACKEND_MAGIC);
        /* Filter into object */
        hp2 = &sp->obj->http;
-       len = pdiff(hp->rx.b, hp->rx.e);
+       len = Tlen(hp->rx);
        len += 256;             /* margin for content-length etc */
 
        CHECK_OBJ_NOTNULL(sp->backend, BACKEND_MAGIC);