summaryrefslogtreecommitdiff
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)
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,
return;
}
if ( (want_cork) &&
- (0 == MHD_socket_set_nodelay (connection->socket_fd,
+ (0 == MHD_socket_set_nodelay_ (connection->socket_fd,
false)) )
connection->sk_cork_on = true;
#endif
@@ -171,7 +171,7 @@ post_cork_setsockopt (struct MHD_Connection *connection,
return;
}
if ( (! want_cork) &&
- (0 == MHD_socket_set_nodelay (connection->socket_fd,
+ (0 == MHD_socket_set_nodelay_ (connection->socket_fd,
true)) )
connection->sk_cork_on = false;
#endif