From f1ab15426f53caf5660c7d0dd29b3f60b101c1b8 Mon Sep 17 00:00:00 2001 From: ng0 Date: Thu, 17 Oct 2019 15:52:27 +0000 Subject: fix failure to build --- src/microhttpd/mhd_sockets.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/microhttpd/mhd_sockets.c b/src/microhttpd/mhd_sockets.c index 38c6ecd4..7929c07a 100644 --- a/src/microhttpd/mhd_sockets.c +++ b/src/microhttpd/mhd_sockets.c @@ -530,10 +530,8 @@ MHD_socket_cork_ (MHD_socket sock, return 0; /* even force flush failed!? */ return 1; /* success */ } -#else - return 0; #endif -#elif +#else /* do not have MHD_TCP_CORK_NOPUSH at all */ return 0; #endif -- cgit v1.2.3