aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/mhd_send.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/mhd_send.c')
-rw-r--r--src/microhttpd/mhd_send.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index fc1aaa00..c74415c6 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -1201,8 +1201,7 @@ MHD_send_sendfile_ (struct MHD_Connection *connection)
1201#ifdef HAVE_DARWIN_SENDFILE 1201#ifdef HAVE_DARWIN_SENDFILE
1202 off_t len; 1202 off_t len;
1203#endif /* HAVE_DARWIN_SENDFILE */ 1203#endif /* HAVE_DARWIN_SENDFILE */
1204 const bool used_thr_p_c = (0 != (connection->daemon->options 1204 const bool used_thr_p_c = MHD_D_IS_USING_THREAD_PER_CONN_ (daemon);
1205 & MHD_USE_THREAD_PER_CONNECTION));
1206 const size_t chunk_size = used_thr_p_c ? MHD_SENFILE_CHUNK_THR_P_C_ : 1205 const size_t chunk_size = used_thr_p_c ? MHD_SENFILE_CHUNK_THR_P_C_ :
1207 MHD_SENFILE_CHUNK_; 1206 MHD_SENFILE_CHUNK_;
1208 size_t send_size = 0; 1207 size_t send_size = 0;