commit 3bf01f3a76c58c40188d32798279b8cbb8cbc71a
parent 09690d889629260a0404cd89d74d372d430bc6e6
Author: Nils Durner <durner@gnunet.org>
Date: Wed, 4 Nov 2009 22:40:15 +0000
FD_SETSIZE is not the upper bound for fd numbers on Windows
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c
@@ -607,6 +607,7 @@ MHD_accept_connection (struct MHD_Daemon *daemon)
}
return MHD_NO;
}
+#ifndef MINGW
if (s >= FD_SETSIZE)
{
#if HAVE_MESSAGES
@@ -618,6 +619,7 @@ MHD_accept_connection (struct MHD_Daemon *daemon)
CLOSE (s);
return MHD_NO;
}
+#endif
#if HAVE_MESSAGES