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

Only complain if accept_filters fail


git-svn-id: http://www.varnish-cache.org/svn/trunk@344 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 8141f11f
......@@ -24,8 +24,9 @@ accept_filter(int fd)
errno = 0;
i = setsockopt(fd, SOL_SOCKET, SO_ACCEPTFILTER,
&afa, sizeof(afa));
printf("Acceptfilter(%d, httpready): %d %s\n",
fd, i, strerror(errno));
if (i)
printf("Acceptfilter(%d, httpready): %d %s\n",
fd, i, strerror(errno));
}
static void
......
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