aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/mhd_send.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/mhd_send.c')
-rw-r--r--src/microhttpd/mhd_send.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index abfe2783..2770c921 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -98,7 +98,7 @@ MHD_send_on_connection_ (struct MHD_Connection *connection,
98 { 98 {
99 /* No corking */ 99 /* No corking */
100 case 0: 100 case 0:
101 if (false == connection->sk_tcp_nodelay_on) 101 if (! connection->sk_tcp_nodelay_on)
102 { 102 {
103 opt1 = 1; 103 opt1 = 1;
104 opt2 = sizeof (int); 104 opt2 = sizeof (int);
@@ -129,7 +129,7 @@ MHD_send_on_connection_ (struct MHD_Connection *connection,
129 * This means we want to enable corking. 129 * This means we want to enable corking.
130 * Check if our corking boolean is not already set. 130 * Check if our corking boolean is not already set.
131 */ 131 */
132 if (false == connection->sk_tcp_cork_nopush_on) 132 if (! connection->sk_tcp_cork_nopush_on)
133 { 133 {
134 /* 134 /*
135 * corking boolean is false. We want to enable 135 * corking boolean is false. We want to enable
@@ -158,7 +158,7 @@ MHD_send_on_connection_ (struct MHD_Connection *connection,
158 * for send() and keep the socket on NODELAY. 158 * for send() and keep the socket on NODELAY.
159 * Check if our nodelay boolean is false. 159 * Check if our nodelay boolean is false.
160 */ 160 */
161 if (false == connection->sk_tcp_nodelay_on) 161 if (! connection->sk_tcp_nodelay_on)
162 { 162 {
163 /* 163 /*
164 * If we have MSG_MORE, keep the 164 * If we have MSG_MORE, keep the
@@ -190,7 +190,7 @@ MHD_send_on_connection_ (struct MHD_Connection *connection,
190 if ((! 100_Continue) && (sending_header)) 190 if ((! 100_Continue) && (sending_header))
191 { 191 {
192 // uncork 192 // uncork
193 if (true == connection->sk_tcp_cork_nopush_on) 193 if (connection->sk_tcp_cork_nopush_on)
194 { 194 {
195 opt1 = 0; 195 opt1 = 0;
196 opt2 = sizeof (int); 196 opt2 = sizeof (int);