commit 02a9ae28d64498266869b49b042905946df7ce66
parent abc998d21921c5f183bea6818c25b1d3b7df09bb
Author: ng0 <ng0@n0.is>
Date: Mon, 29 Jul 2019 18:29:20 +0000
synt
Diffstat:
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git 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)