ng0 hace 6 años
padre
commit
af387e7c28
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/microhttpd/mhd_send.c

+ 2 - 2
src/microhttpd/mhd_send.c

@@ -455,7 +455,7 @@ sendfile_adapter (struct MHD_Connection *connection)
   size_t send_size = 0;
   mhd_assert (MHD_resp_sender_sendfile == connection->resp_sender);
 
-  (void) pre_cork_setsockopt (connection, false);
+  pre_cork_setsockopt (connection, false);
 
   offsetu64 = connection->response_write_position + connection->response->fd_off;
   left = connection->response->total_size - connection->response_write_position;
@@ -596,7 +596,7 @@ sendfile_adapter (struct MHD_Connection *connection)
   ret = (ssize_t)len;
 #endif /* HAVE_FREEBSD_SENDFILE */
 
-  (void) post_cork_setsockopt (connection, false);
+  post_cork_setsockopt (connection, false);
 
   return ret;
 }