Commit 9e514a8c authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

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



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3476 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent c43d3eb4
......@@ -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