From 27fd44d40a42bd252f41fdce1f03a28006d8777b Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 28 Feb 2009 21:21:14 +0000 Subject: [PATCH] Use the right workspace for beresp.status git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3844 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_vrt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5