diff options
author | ng0 <ng0@n0.is> | 2019-07-29 18:29:20 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-07-29 18:29:20 +0000 |
commit | 02a9ae28d64498266869b49b042905946df7ce66 (patch) | |
tree | 35a0a71fb36742e5f353733dae19eb7c138875dd | |
parent | abc998d21921c5f183bea6818c25b1d3b7df09bb (diff) | |
download | libmicrohttpd-02a9ae28d64498266869b49b042905946df7ce66.tar.gz libmicrohttpd-02a9ae28d64498266869b49b042905946df7ce66.zip |
synt
-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) |