Commit e95fda1d authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Fix compilation on certain llvm versions

parent 3e17b28a
......@@ -152,7 +152,7 @@ VTCP_filter_http(int sock)
struct accept_filter_arg afa;
memset(&afa, 0, sizeof afa);
bprintf(afa.af_name, "httpready");
bprintf(afa.af_name, "%s", "httpready");
errno = 0;
retval = setsockopt(sock, SOL_SOCKET, SO_ACCEPTFILTER,
&afa, sizeof afa);
......
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