libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 7d7d55d12d92face09336f44380a91477a322fa4
parent 682955506e4b564cd58fcf7af733407903fb05ec
Author: ng0 <ng0@n0.is>
Date:   Fri,  2 Aug 2019 08:44:01 +0000

mhd_send: fix failure to build

Diffstat:
Msrc/microhttpd/mhd_send.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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