mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-10-02 04:02:18 +03:00
fix compiler error.
This commit is contained in:
1 file changed
+3
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user