Commit 00762b59 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Add an assert to show Coverity that we don't expect this to fail.

parent 81417a43
......@@ -377,6 +377,7 @@ varnish_launch(struct varnish *v)
nap = VSS_resolve("127.0.0.1", "0", &ap);
AN(nap);
v->cli_fd = VSS_listen(ap[0], 1);
assert(v->cli_fd > 0);
VTCP_myname(v->cli_fd, abuf, sizeof abuf, pbuf, sizeof pbuf);
AZ(VSB_finish(v->args));
......
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