commit 4c1b251d7591d28257afd7bf7711350596f247ba
parent b0540449f300b425e7d900808e71c4f878286677
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 11 Sep 2013 15:00:41 +0000
-only check if use pipe is set, as on FreeBSD FD_SETSIZE is a signed int...
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
@@ -3030,6 +3030,7 @@ MHD_start_daemon_va (unsigned int flags,
}
#ifndef WINDOWS
if ( (0 == (flags & MHD_USE_POLL)) &&
+ (1 == use_pipe) &&
(daemon->wpipe[0] >= FD_SETSIZE) )
{
#if HAVE_MESSAGES