libmicrohttpd

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

commit 404d4b4472f5714a7e32422e5aa663b964f97652
parent 02ff959e7dd1d7dab169d3be059d5b92a8e9a558
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Sun,  1 Oct 2017 17:08:17 +0300

Fixed 5ac497e212525a12209a3c1007a129ae85055cf7

Diffstat:
Msrc/microhttpd/connection.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c @@ -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);