aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2020-09-17 15:39:06 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2020-09-17 15:39:06 +0300
commite861c61d4a7e36f6819b6a428a1636bf4150317e (patch)
treea3cb0f6918796f43430d89c78fdf2fa017cb7439
parent668d3891cc09332ae78b22676b3c9922b8b92541 (diff)
downloadlibmicrohttpd-e861c61d4a7e36f6819b6a428a1636bf4150317e.tar.gz
libmicrohttpd-e861c61d4a7e36f6819b6a428a1636bf4150317e.zip
mhd_sockets.c: fixed warning on W32
-rw-r--r--src/microhttpd/mhd_sockets.c2
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