diff options
Diffstat (limited to 'src/microhttpd/mhd_send.c')
-rw-r--r-- | src/microhttpd/mhd_send.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c index 2ea4dfa3..64079b8d 100644 --- a/src/microhttpd/mhd_send.c +++ b/src/microhttpd/mhd_send.c | |||
@@ -244,7 +244,7 @@ MHD_send_on_connection_ (struct MHD_Connection *connection, | |||
244 | } | 244 | } |
245 | } | 245 | } |
246 | else | 246 | else |
247 | #endif | 247 | #endif /* HTTPS_SUPPORT */ |
248 | { | 248 | { |
249 | /* plaintext transmission */ | 249 | /* plaintext transmission */ |
250 | pre_cork_setsockopt (connection, want_cork); | 250 | pre_cork_setsockopt (connection, want_cork); |
@@ -254,7 +254,10 @@ MHD_send_on_connection_ (struct MHD_Connection *connection, | |||
254 | buffer_size, | 254 | buffer_size, |
255 | MAYBE_MSG_NOSIGNAL | (want_cork ? MSG_MORE : 0)); | 255 | MAYBE_MSG_NOSIGNAL | (want_cork ? MSG_MORE : 0)); |
256 | #else | 256 | #else |
257 | ret = send (connection->socket_fd, buffer, buffer_size, MAYBE_MSG_NOSIGNAL); | 257 | ret = send (connection->socket_fd, |
258 | buffer, | ||
259 | buffer_size, | ||
260 | MAYBE_MSG_NOSIGNAL); | ||
258 | #endif | 261 | #endif |
259 | 262 | ||
260 | if (0 > ret) | 263 | if (0 > ret) |