|
|
@@ -238,7 +238,7 @@ sendfile_adapter (struct MHD_Connection *connection)
|
|
|
#else /* HAVE_SENDFILE64 */
|
|
|
off64_t offset;
|
|
|
#endif /* HAVE_SENDFILE64 */
|
|
|
- const bool used_thr_p_c = (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION));
|
|
|
+ const bool used_thr_p_c = (0 != (connection->daemon->options & MHD_USE_THREAD_PER_CONNECTION));
|
|
|
size_t send_size;
|
|
|
mhd_assert (MHD_resp_sender_sendfile == connection->resp_sender);
|
|
|
|