Commit fbd4cd73 authored by Tollef Fog Heen's avatar Tollef Fog Heen

Merge r3476: This is a bandaid for a pointer dereference when "restart" is used.



git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3669 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 3e6930c8
......@@ -85,7 +85,8 @@ parse_restart(struct tokenlist *tl)
ERRCHK(tl);
}
Fb(tl, 1, "VRT_done(sp, VCL_RET_RESTART);\n");
vcc_ProcAction(tl->curproc, VCL_RET_RESTART, tl->t);
assert(VCL_RET_RESTART == (1 << 9)); /* XXX: BANDAID FIXME! */
vcc_ProcAction(tl->curproc, 9, tl->t);
vcc_NextToken(tl);
}
......
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