Commit 2328e091 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Change assert to error



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3837 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 7815aa1f
......@@ -424,6 +424,8 @@ varnish_vclbackend(struct varnish *v, const char *vcl)
AZ(vsb_overflowed(vsb));
u = varnish_ask_cli(v, vsb_data(vsb), NULL);
if (u != CLIS_OK)
vtc_log(v->vl, 0, "FAIL VCL does not compile");
assert(u == CLIS_OK);
vsb_clear(vsb);
vsb_printf(vsb, "vcl.use vcl%d", v->vcl_nbr);
......
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