diff options
Diffstat (limited to 'src/microhttpd/mhd_sockets.c')
-rw-r--r-- | src/microhttpd/mhd_sockets.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/microhttpd/mhd_sockets.c b/src/microhttpd/mhd_sockets.c index c5c6f90d..a00330a3 100644 --- a/src/microhttpd/mhd_sockets.c +++ b/src/microhttpd/mhd_sockets.c | |||
@@ -520,6 +520,7 @@ MHD_socket_cork_ (MHD_socket sock, | |||
520 | /* FreeBSD do not need zero-send for flushing starting from version 9 */ | 520 | /* FreeBSD do not need zero-send for flushing starting from version 9 */ |
521 | return 1; | 521 | return 1; |
522 | #elif defined(TCP_NOPUSH) && ! defined(TCP_CORK) | 522 | #elif defined(TCP_NOPUSH) && ! defined(TCP_CORK) |
523 | if (! on) | ||
523 | { | 524 | { |
524 | const int dummy = 0; | 525 | const int dummy = 0; |
525 | /* Force flush data with zero send otherwise Darwin and some BSD systems | 526 | /* Force flush data with zero send otherwise Darwin and some BSD systems |