aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/microhttpd/mhd_send.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index 6cbf9c90..5a8d9283 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -455,7 +455,7 @@ sendfile_adapter (struct MHD_Connection *connection)
455 size_t send_size = 0; 455 size_t send_size = 0;
456 mhd_assert (MHD_resp_sender_sendfile == connection->resp_sender); 456 mhd_assert (MHD_resp_sender_sendfile == connection->resp_sender);
457 457
458 (void) pre_cork_setsockopt (connection, false); 458 pre_cork_setsockopt (connection, false);
459 459
460 offsetu64 = connection->response_write_position + connection->response->fd_off; 460 offsetu64 = connection->response_write_position + connection->response->fd_off;
461 left = connection->response->total_size - connection->response_write_position; 461 left = connection->response->total_size - connection->response_write_position;
@@ -596,7 +596,7 @@ sendfile_adapter (struct MHD_Connection *connection)
596 ret = (ssize_t)len; 596 ret = (ssize_t)len;
597#endif /* HAVE_FREEBSD_SENDFILE */ 597#endif /* HAVE_FREEBSD_SENDFILE */
598 598
599 (void) post_cork_setsockopt (connection, false); 599 post_cork_setsockopt (connection, false);
600 600
601 return ret; 601 return ret;
602} 602}