From: sky Date: Tue, 28 Oct 2008 12:33:19 +0000 (+0000) Subject: thanks mithrandir -- check the right magic X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e53ba5406616f53bfd9e52feb8273f253d63dc0;p=varnish thanks mithrandir -- check the right magic git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3354 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- 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)); }