diff options
Diffstat (limited to 'src/microhttpd/mhd_sockets.c')
-rw-r--r-- | src/microhttpd/mhd_sockets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/mhd_sockets.c b/src/microhttpd/mhd_sockets.c index 31b53e1e..89bcb0ac 100644 --- a/src/microhttpd/mhd_sockets.c +++ b/src/microhttpd/mhd_sockets.c | |||
@@ -479,7 +479,7 @@ MHD_socket_set_nodelay_ (MHD_socket sock, | |||
479 | return setsockopt (sock, | 479 | return setsockopt (sock, |
480 | IPPROTO_TCP, | 480 | IPPROTO_TCP, |
481 | TCP_NODELAY, | 481 | TCP_NODELAY, |
482 | (const void *) (on) ? &on_val : &off_val, | 482 | (const void *) ((on) ? &on_val : &off_val), |
483 | sizeof (on_val)); | 483 | sizeof (on_val)); |
484 | } | 484 | } |
485 | #else | 485 | #else |