diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-09-29 16:14:12 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-09-29 20:43:14 +0300 |
commit | 4e01fd656aba4156d63e5a33e671dcfa8d8a8783 (patch) | |
tree | 671ed8756cce4adfd67ef125987eb6e49ec95e34 /src | |
parent | 7278e5818e0b96b9a0b2808ab2e8bd79730396fe (diff) | |
download | libmicrohttpd-4e01fd656aba4156d63e5a33e671dcfa8d8a8783.tar.gz libmicrohttpd-4e01fd656aba4156d63e5a33e671dcfa8d8a8783.zip |
connection_close_error(): fixed set of error flag with messages disabled
Diffstat (limited to 'src')
-rw-r--r-- | src/microhttpd/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
901 | connection_close_error (struct MHD_Connection *connection, | 901 | connection_close_error (struct MHD_Connection *connection, |
902 | const char *emsg) | 902 | const char *emsg) |
903 | { | 903 | { |
904 | #ifdef HAVE_MESSAGES | ||
905 | connection->stop_with_error = true; | 904 | connection->stop_with_error = true; |
905 | #ifdef HAVE_MESSAGES | ||
906 | if (NULL != emsg) | 906 | if (NULL != emsg) |
907 | MHD_DLOG (connection->daemon, | 907 | MHD_DLOG (connection->daemon, |
908 | "%s\n", | 908 | "%s\n", |