[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] branch master updated: mhd_sockets.c: fixed warning on W
From: |
gnunet |
Subject: |
[libmicrohttpd] branch master updated: mhd_sockets.c: fixed warning on W32 |
Date: |
Thu, 17 Sep 2020 14:46:25 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new e861c61d mhd_sockets.c: fixed warning on W32
e861c61d is described below
commit e861c61d4a7e36f6819b6a428a1636bf4150317e
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu Sep 17 15:39:06 2020 +0300
mhd_sockets.c: fixed warning on W32
---
src/microhttpd/mhd_sockets.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,
return setsockopt (sock,
IPPROTO_TCP,
TCP_NODELAY,
- (const void *) (on) ? &on_val : &off_val,
+ (const void *) ((on) ? &on_val : &off_val),
sizeof (on_val));
}
#else
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libmicrohttpd] branch master updated: mhd_sockets.c: fixed warning on W32,
gnunet <=