Commit 2c6f24d2 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Clarify things for Coverity

parent ce0f13bb
......@@ -388,6 +388,7 @@ haproxy_build_backends(const struct haproxy *h, const char *vsb_data)
if (err != NULL)
vtc_fatal(h->vl,
"Create listen socket failed: %s", err);
assert(sock > 0);
VTCP_myname(sock, addr, sizeof addr, port, sizeof port);
bprintf(buf, "%s_%s", h->name, p);
......
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