diff options
Diffstat (limited to 'src/microhttpd/mhd_send.c')
-rw-r--r-- | src/microhttpd/mhd_send.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c index c74415c6..eea1c2d5 100644 --- a/src/microhttpd/mhd_send.c +++ b/src/microhttpd/mhd_send.c | |||
@@ -1201,7 +1201,8 @@ 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 = MHD_D_IS_USING_THREAD_PER_CONN_ (daemon); | 1204 | const bool used_thr_p_c = |
1205 | MHD_D_IS_USING_THREAD_PER_CONN_ (connection->daemon); | ||
1205 | const size_t chunk_size = used_thr_p_c ? MHD_SENFILE_CHUNK_THR_P_C_ : | 1206 | const size_t chunk_size = used_thr_p_c ? MHD_SENFILE_CHUNK_THR_P_C_ : |
1206 | MHD_SENFILE_CHUNK_; | 1207 | MHD_SENFILE_CHUNK_; |
1207 | size_t send_size = 0; | 1208 | size_t send_size = 0; |