aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r--src/microhttpd/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 3f62144a..2511230d 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -238,7 +238,7 @@ sendfile_adapter (struct MHD_Connection *connection)
238#else /* HAVE_SENDFILE64 */ 238#else /* HAVE_SENDFILE64 */
239 off64_t offset; 239 off64_t offset;
240#endif /* HAVE_SENDFILE64 */ 240#endif /* HAVE_SENDFILE64 */
241 const bool used_thr_p_c = (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION)); 241 const bool used_thr_p_c = (0 != (connection->daemon->options & MHD_USE_THREAD_PER_CONNECTION));
242 size_t send_size; 242 size_t send_size;
243 mhd_assert (MHD_resp_sender_sendfile == connection->resp_sender); 243 mhd_assert (MHD_resp_sender_sendfile == connection->resp_sender);
244 244