summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-07-29 18:29:20 +0000
committerng0 <ng0@n0.is>2019-07-29 18:29:20 +0000
commit02a9ae28d64498266869b49b042905946df7ce66 (patch)
tree35a0a71fb36742e5f353733dae19eb7c138875dd
parentabc998d21921c5f183bea6818c25b1d3b7df09bb (diff)
synt
-rw-r--r--src/microhttpd/mhd_send.c7
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,
}
}
else
-#endif
+#endif /* HTTPS_SUPPORT */
{
/* plaintext transmission */
pre_cork_setsockopt (connection, want_cork);
@@ -254,7 +254,10 @@ MHD_send_on_connection_ (struct MHD_Connection *connection,
buffer_size,
MAYBE_MSG_NOSIGNAL | (want_cork ? MSG_MORE : 0));
#else
- ret = send (connection->socket_fd, buffer, buffer_size, MAYBE_MSG_NOSIGNAL);
+ ret = send (connection->socket_fd,
+ buffer,
+ buffer_size,
+ MAYBE_MSG_NOSIGNAL);
#endif
if (0 > ret)