commit d178fff343cdde062179d70d53cf7f778563ab1e
parent 7738609fe2e0c465769bbfd2763eba01855ddd98
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Sun, 26 Nov 2017 19:38:06 +0300
Fixed typo in 4a126e24e7b780c3ad0196b72f813ce4a90215e3
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
@@ -5489,7 +5489,7 @@ MHD_start_daemon_va (unsigned int flags,
/* Apply the socket options according to listening_address_reuse. */
if (0 == daemon->listening_address_reuse)
{
-#ifdef MHD_WINSOCK_SOCKETS
+#ifndef MHD_WINSOCK_SOCKETS
/* No user requirement, use "traditional" default SO_REUSEADDR
* on non-W32 platforms, and do not fail if it doesn't work.
* Don't use it on W32, because on W32 it will allow multiple