From 059d7ef3723a107489b0ef16806d5e7c0c5243c9 Mon Sep 17 00:00:00 2001 From: tfheen Date: Mon, 10 Nov 2008 10:12:00 +0000 Subject: [PATCH] Merge r3353, r3354: resp.status was returning obj.status git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/branches/2.0@3373 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_vrt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/varnish-cache/bin/varnishd/cache_vrt.c b/varnish-cache/bin/varnishd/cache_vrt.c index dc08fb46..02559206 100644 --- a/varnish-cache/bin/varnishd/cache_vrt.c +++ b/varnish-cache/bin/varnishd/cache_vrt.c @@ -284,8 +284,8 @@ int 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)); + CHECK_OBJ_NOTNULL(sp->http, HTTP_MAGIC); + return (atoi(sp->http->hd[HTTP_HDR_STATUS].b)); } /*--------------------------------------------------------------------*/ -- 2.39.5