From 5e53ba5406616f53bfd9e52feb8273f253d63dc0 Mon Sep 17 00:00:00 2001 From: sky Date: Tue, 28 Oct 2008 12:33:19 +0000 Subject: [PATCH] thanks mithrandir -- check the right magic git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3354 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 e7f69b8d..1fb38474 100644 --- a/varnish-cache/bin/varnishd/cache_vrt.c +++ b/varnish-cache/bin/varnishd/cache_vrt.c @@ -286,7 +286,7 @@ int VRT_r_resp_status(const struct sess *sp) { CHECK_OBJ_NOTNULL(sp, SESS_MAGIC); - CHECK_OBJ_NOTNULL(sp->obj, OBJECT_MAGIC); + CHECK_OBJ_NOTNULL(sp->http, HTTP_MAGIC); return (atoi(sp->http->hd[HTTP_HDR_STATUS].b)); } -- 2.39.5