aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-08-02 08:44:01 +0000
committerng0 <ng0@n0.is>2019-08-02 08:44:01 +0000
commit7d7d55d12d92face09336f44380a91477a322fa4 (patch)
tree18504563e00e249c59e26045999624ac2792f507
parent682955506e4b564cd58fcf7af733407903fb05ec (diff)
downloadlibmicrohttpd-7d7d55d12d92face09336f44380a91477a322fa4.tar.gz
libmicrohttpd-7d7d55d12d92face09336f44380a91477a322fa4.zip
mhd_send: fix failure to build
-rw-r--r--src/microhttpd/mhd_send.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index cc9fcf5b..11ed6db7 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -100,7 +100,7 @@ pre_cork_setsockopt (struct MHD_Connection *connection,
100 return; 100 return;
101 } 101 }
102 if ( (want_cork) && 102 if ( (want_cork) &&
103 (0 == MHD_socket_set_nodelay (connection->socket_fd, 103 (0 == MHD_socket_set_nodelay_ (connection->socket_fd,
104 false)) ) 104 false)) )
105 connection->sk_cork_on = true; 105 connection->sk_cork_on = true;
106#endif 106#endif
@@ -171,7 +171,7 @@ post_cork_setsockopt (struct MHD_Connection *connection,
171 return; 171 return;
172 } 172 }
173 if ( (! want_cork) && 173 if ( (! want_cork) &&
174 (0 == MHD_socket_set_nodelay (connection->socket_fd, 174 (0 == MHD_socket_set_nodelay_ (connection->socket_fd,
175 true)) ) 175 true)) )
176 connection->sk_cork_on = false; 176 connection->sk_cork_on = false;
177#endif 177#endif