ng0 6 vuotta sitten
vanhempi
sitoutus
02a9ae28d6
1 muutettua tiedostoa jossa 5 lisäystä ja 2 poistoa
  1. 5 2
      src/microhttpd/mhd_send.c

+ 5 - 2
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)