From b42edd0642924cccc51e409781ff014dc977a3a7 Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 26 Sep 2007 19:20:17 +0000 Subject: [PATCH] another place we can use Tlen git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2047 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_fetch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5