From 47effaa7e22d0beb0e25ece322d5179ff07b4df5 Mon Sep 17 00:00:00 2001 From: sky Date: Tue, 28 Oct 2008 12:21:15 +0000 Subject: [PATCH] resp.status was returning obj.status git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3353 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 2101b1f6..e7f69b8d 100644 --- a/varnish-cache/bin/varnishd/cache_vrt.c +++ b/varnish-cache/bin/varnishd/cache_vrt.c @@ -287,7 +287,7 @@ VRT_r_resp_status(const struct sess *sp) { CHECK_OBJ_NOTNULL(sp, SESS_MAGIC); CHECK_OBJ_NOTNULL(sp->obj, OBJECT_MAGIC); - return (atoi(sp->obj->http->hd[HTTP_HDR_STATUS].b)); + return (atoi(sp->http->hd[HTTP_HDR_STATUS].b)); } /*--------------------------------------------------------------------*/ -- 2.39.5