Commit b1900783 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Use the right workspace for beresp.status



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3844 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent c72dd103
......@@ -371,7 +371,7 @@ VRT_l_beresp_status(const struct sess *sp, int num)
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
......
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