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

This commit is contained in:
Evgeny Grin (Karlson2k)
2021-09-29 20:43:14 +03:00
parent 7278e5818e
commit 4e01fd656a
+1 -1
View File
@@ -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",