Commit 47028c70 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Alloc vmods to bail out of ->init, now that we have mechanism for

doing the right thing during fini.

Patch by: Martin
parent 48b09e9d
......@@ -199,7 +199,8 @@ vcc_ParseImport(struct vcc *tl)
if (ifp == NULL)
ifp = New_IniFin(tl);
VSB_printf(ifp->ini,
"\t%s(&vmod_priv_%.*s, &VCL_conf);",
"\tif (%s(&vmod_priv_%.*s, &VCL_conf))\n"
"\t\treturn(1);",
p, PF(mod));
} else {
sym = VCC_AddSymbolStr(tl, p, SYM_FUNC);
......
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