r3844 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Sat Feb 28 22:21:15 CET 2009
Author: phk
Date: 2009-02-28 22:21:14 +0100 (Sat, 28 Feb 2009)
New Revision: 3844
Modified:
trunk/varnish-cache/bin/varnishd/cache_vrt.c
Log:
Use the right workspace for beresp.status
Modified: trunk/varnish-cache/bin/varnishd/cache_vrt.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_vrt.c 2009-02-28 19:00:00 UTC (rev 3843)
+++ trunk/varnish-cache/bin/varnishd/cache_vrt.c 2009-02-28 21:21:14 UTC (rev 3844)
@@ -371,7 +371,7 @@
char *p;
assert(num >= 100 && num <= 999);
- p = WS_Alloc(sp->obj->http->ws, 4);
+ p = WS_Alloc(sp->bereq->beresp->ws, 4);
if (p == NULL)
WSP(sp, SLT_LostHeader, "%s", "obj.status");
else
More information about the varnish-commit
mailing list