gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 03/06: Removed one debug member from release builds


From: gnunet
Subject: [libmicrohttpd] 03/06: Removed one debug member from release builds
Date: Tue, 27 Sep 2022 18:02:17 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 3a7126a3e25132dc01d238acb411fe7b77205929
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Tue Sep 27 17:26:19 2022 +0300

    Removed one debug member from release builds
---
 src/microhttpd/connection.c | 2 ++
 src/microhttpd/internal.h   | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index ddc60d85..e894fe24 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -1823,7 +1823,9 @@ setup_reply_properties (struct MHD_Connection *connection)
     use_chunked = false; /* chunked encoding cannot be used without body */
 
   c->rp.props.chunked = use_chunked;
+#ifdef _DEBUG
   c->rp.props.set = true;
+#endif /* _DEBUG */
 }
 
 
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h
index 37f38eea..6a88177e 100644
--- a/src/microhttpd/internal.h
+++ b/src/microhttpd/internal.h
@@ -1080,7 +1080,9 @@ struct MHD_Request
  */
 struct MHD_Reply_Properties
 {
+#ifdef _DEBUG
   bool set; /**< Indicates that other members are set and valid */
+#endif /* _DEBUG */
   bool use_reply_body_headers; /**< Use reply body-specific headers */
   bool send_reply_body; /**< Send reply body (can be zero-sized) */
   bool chunked; /**< Use chunked encoding for reply */

-- 
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]