r3353 - trunk/varnish-cache/bin/varnishd

sky at projects.linpro.no sky at projects.linpro.no
Tue Oct 28 13:21:15 CET 2008


Author: sky
Date: 2008-10-28 13:21:15 +0100 (Tue, 28 Oct 2008)
New Revision: 3353

Modified:
   trunk/varnish-cache/bin/varnishd/cache_vrt.c
Log:
resp.status was returning obj.status



Modified: trunk/varnish-cache/bin/varnishd/cache_vrt.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_vrt.c	2008-10-27 00:36:04 UTC (rev 3352)
+++ trunk/varnish-cache/bin/varnishd/cache_vrt.c	2008-10-28 12:21:15 UTC (rev 3353)
@@ -287,7 +287,7 @@
 {
 	CHECK_OBJ_NOTNULL(sp, SESS_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));
 }
 
 /*--------------------------------------------------------------------*/




More information about the varnish-commit mailing list