Commit ff00e8bf authored by Artur Bergman's avatar Artur Bergman

thanks mithrandir -- check the right magic


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3354 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent d86bcc00
......@@ -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));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment