From: phk Date: Wed, 26 Sep 2007 19:20:17 +0000 (+0000) Subject: another place we can use Tlen X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b42edd0642924cccc51e409781ff014dc977a3a7;p=varnish another place we can use Tlen git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2047 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_fetch.c b/varnish-cache/bin/varnishd/cache_fetch.c index d2908d01..76814a17 100644 --- a/varnish-cache/bin/varnishd/cache_fetch.c +++ b/varnish-cache/bin/varnishd/cache_fetch.c @@ -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);