gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 03/03: Fixed debug build without TLS support


From: gnunet
Subject: [libmicrohttpd] 03/03: Fixed debug build without TLS support
Date: Wed, 13 Sep 2023 16:12:06 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit c101b159ea472d6739f3eddd4cb4cf4b11fa4c09
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed Sep 13 17:11:51 2023 +0300

    Fixed debug build without TLS support
---
 src/microhttpd/response.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
index c594d4f7..8cd540b1 100644
--- a/src/microhttpd/response.c
+++ b/src/microhttpd/response.c
@@ -1933,9 +1933,9 @@ enum MHD_Result
 MHD_response_execute_upgrade_ (struct MHD_Response *response,
                                struct MHD_Connection *connection)
 {
-#ifdef HTTPS_SUPPORT
-  struct MHD_Daemon *daemon = connection->daemon;
-#endif /* HTTPS_SUPPORT */
+#if defined(HTTPS_SUPPORT) || defined(_DEBUG)
+  struct MHD_Daemon *const daemon = connection->daemon;
+#endif /* HTTPS_SUPPORT || _DEBUG */
   struct MHD_UpgradeResponseHandle *urh;
   size_t rbo;
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]