commit 235a277df3d4336ccf85973e501a5a6369b81427
parent c07f446418890d7b8c96cc2c97fd45fd0d2898a1
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Wed, 29 Sep 2021 14:18:06 +0300
connection.c: fixed compile with disabled messages
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
@@ -187,6 +187,8 @@ str_conn_error_ (ssize_t mhd_err_code)
}
+#endif /* HAVE_MESSAGES */
+
/**
* Allocate memory from connection's memory pool.
* If memory pool doesn't have enough free memory but read of write buffer
@@ -258,8 +260,6 @@ connection_alloc_memory (struct MHD_Connection *connection,
}
-#endif /* HAVE_MESSAGES */
-
/**
* Callback for receiving data from the socket.
*