commit af387e7c28e930d93164edac4edf1bd07b2d83c5
parent 5880cd0cd3179e422150c2e2ee01778fda447108
Author: ng0 <ng0@n0.is>
Date: Thu, 25 Jul 2019 20:54:47 +0000
don't cast
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/mhd_send.c b/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;
}