libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit e62cd69da842695af952deb61e069c7126e24f53
parent 2475030dcbdb95f6843d251d6e4ee1b4be9f3f3b
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Thu,  9 Nov 2023 20:08:32 +0300

Fixed copy-paste error introduced by 2475030dcbdb95f6843d251d6e4ee1b4be9f3f3b

Diffstat:
Msrc/microhttpd/mhd_send.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c @@ -1201,7 +1201,8 @@ MHD_send_sendfile_ (struct MHD_Connection *connection) #ifdef HAVE_DARWIN_SENDFILE off_t len; #endif /* HAVE_DARWIN_SENDFILE */ - const bool used_thr_p_c = MHD_D_IS_USING_THREAD_PER_CONN_ (daemon); + const bool used_thr_p_c = + MHD_D_IS_USING_THREAD_PER_CONN_ (connection->daemon); const size_t chunk_size = used_thr_p_c ? MHD_SENFILE_CHUNK_THR_P_C_ : MHD_SENFILE_CHUNK_; size_t send_size = 0;