Commit d86bcc00 authored by Artur Bergman's avatar Artur Bergman

resp.status was returning obj.status



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3353 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 09d6e53c
...@@ -287,7 +287,7 @@ VRT_r_resp_status(const struct sess *sp) ...@@ -287,7 +287,7 @@ VRT_r_resp_status(const struct sess *sp)
{ {
CHECK_OBJ_NOTNULL(sp, SESS_MAGIC); CHECK_OBJ_NOTNULL(sp, SESS_MAGIC);
CHECK_OBJ_NOTNULL(sp->obj, OBJECT_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));
} }
/*--------------------------------------------------------------------*/ /*--------------------------------------------------------------------*/
......
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