libmicrohttpd

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

commit 4e01fd656aba4156d63e5a33e671dcfa8d8a8783
parent 7278e5818e0b96b9a0b2808ab2e8bd79730396fe
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Wed, 29 Sep 2021 16:14:12 +0300

connection_close_error(): fixed set of error flag with messages disabled

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 @@ -901,8 +901,8 @@ static void connection_close_error (struct MHD_Connection *connection, const char *emsg) { -#ifdef HAVE_MESSAGES connection->stop_with_error = true; +#ifdef HAVE_MESSAGES if (NULL != emsg) MHD_DLOG (connection->daemon, "%s\n",