diff options
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r-- | src/microhttpd/daemon.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index 29007004..6925c923 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -3681,14 +3681,8 @@ MHD_start_daemon_va (unsigned int flags, | |||
3681 | goto thread_failed; | 3681 | goto thread_failed; |
3682 | #else | 3682 | #else |
3683 | sk_flags = 1; | 3683 | sk_flags = 1; |
3684 | #if HAVE_PLIBC_FD | 3684 | if (SOCKET_ERROR == ioctlsocket (socket_fd, FIONBIO, &sk_flags)) |
3685 | if (SOCKET_ERROR == | ||
3686 | ioctlsocket (plibc_fd_get_handle (socket_fd), FIONBIO, &sk_flags)) | ||
3687 | goto thread_failed; | 3685 | goto thread_failed; |
3688 | #else | ||
3689 | if (ioctlsocket (socket_fd, FIONBIO, &sk_flags) == SOCKET_ERROR) | ||
3690 | goto thread_failed; | ||
3691 | #endif // PLIBC_FD | ||
3692 | #endif // MINGW | 3686 | #endif // MINGW |
3693 | 3687 | ||
3694 | /* Allocate memory for pooled objects */ | 3688 | /* Allocate memory for pooled objects */ |