From 4e01fd656aba4156d63e5a33e671dcfa8d8a8783 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Wed, 29 Sep 2021 16:14:12 +0300 Subject: [PATCH] connection_close_error(): fixed set of error flag with messages disabled --- src/microhttpd/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index cea30896..65aa0842 100644 --- 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",