libmicrohttpd

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

commit bc251e7f51bca12a376f39b587b828e6537c3cfc
parent 9d1dddc01fa913c5df0d7dac9e9eb629f6f80e03
Author: ng0 <ng0@n0.is>
Date:   Mon, 22 Jul 2019 10:24:01 +0000

fix compiler error.

Diffstat:
Msrc/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 @@ -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