From bc251e7f51bca12a376f39b587b828e6537c3cfc Mon Sep 17 00:00:00 2001 From: ng0 Date: Mon, 22 Jul 2019 10:24:01 +0000 Subject: [PATCH] fix compiler error. --- src/microhttpd/mhd_send.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c index 5be2b9cb..642fabbe 100644 --- a/src/microhttpd/mhd_send.c +++ b/src/microhttpd/mhd_send.c @@ -128,7 +128,7 @@ MHD_send_on_connection_ (struct MHD_Connection *connection, (const void *) &off_val, sizeof (off_val))) { - connection->sk_tcp_nodelay = true; + connection->sk_tcp_nodelay_on = true; } else if (0 == setsockopt (s, IPPROTO_TCP, @@ -136,7 +136,7 @@ MHD_send_on_connection_ (struct MHD_Connection *connection, (const void *) &on_val, sizeof (on_val))) { - connection->sk_tcp_nodelay = true; + connection->sk_tcp_nodelay_on = true; } } #elif TCP_NOPUSH @@ -350,7 +350,7 @@ MHD_send_on_connection2_ (struct MHD_Connection *connection, (const void *) &off_val, sizeof (off_val))) { - connection->sk_tcp_nodelay = false; + connection->sk_tcp_nodelay_on = false; } } #endif