From: phk Date: Sat, 28 Feb 2009 21:21:14 +0000 (+0000) Subject: Use the right workspace for beresp.status X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27fd44d40a42bd252f41fdce1f03a28006d8777b;p=varnish Use the right workspace for beresp.status git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3844 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_vrt.c b/varnish-cache/bin/varnishd/cache_vrt.c index 7d90fdbd..80b0566a 100644 --- a/varnish-cache/bin/varnishd/cache_vrt.c +++ b/varnish-cache/bin/varnishd/cache_vrt.c @@ -371,7 +371,7 @@ VRT_l_beresp_status(const struct sess *sp, int num) char *p; assert(num >= 100 && num <= 999); - p = WS_Alloc(sp->obj->http->ws, 4); + p = WS_Alloc(sp->bereq->beresp->ws, 4); if (p == NULL) WSP(sp, SLT_LostHeader, "%s", "obj.status"); else