gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] branch master updated (3a93f07d -> 927c2697)


From: gnunet
Subject: [libmicrohttpd] branch master updated (3a93f07d -> 927c2697)
Date: Sun, 28 Apr 2024 21:04:49 +0200

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

karlson2k pushed a change to branch master
in repository libmicrohttpd.

    from 3a93f07d mhd_bool.m4: new autoconf macro that supports C23
     new 5bd638ae microhttpd.h: fixed deprecation messages
     new 927c2697 Fixed deprecation message when building the lib

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/include/microhttpd.h | 13 +++++++------
 src/microhttpd/daemon.c  |  2 +-
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 12b872fc..fa837221 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -3966,8 +3966,9 @@ MHD_create_response_from_callback (uint64_t size,
  * @deprecated use #MHD_create_response_from_buffer instead
  * @ingroup response
  */
-_MHD_DEPR_FUNC ("MHD_create_response_from_data() is deprecated, " \
-                "use MHD_create_response_from_buffer()") \
+_MHD_DEPR_FUNC ( \
+  "MHD_create_response_from_data() is deprecated, use 
MHD_create_response_from_buffer()" \
+  ) \
   _MHD_EXTERN struct MHD_Response *
 MHD_create_response_from_data (size_t size,
                                void *data,
@@ -4240,8 +4241,9 @@ MHD_create_response_from_fd64 (uint64_t size,
  * @return NULL on error (i.e. invalid arguments, out of memory)
  * @ingroup response
  */
-_MHD_DEPR_FUNC ("Function MHD_create_response_from_fd_at_offset() is " \
-                "deprecated, use MHD_create_response_from_fd_at_offset64()") \
+_MHD_DEPR_FUNC ( \
+  "Function MHD_create_response_from_fd_at_offset() is deprecated, use 
MHD_create_response_from_fd_at_offset64()" \
+  ) \
   _MHD_EXTERN struct MHD_Response *
 MHD_create_response_from_fd_at_offset (size_t size,
                                        int fd,
@@ -6505,8 +6507,7 @@ enum MHD_FEATURE
 };
 
 #define MHD_FEATURE_HTTPS_COOKIE_PARSING _MHD_DEPR_IN_MACRO ( \
-    "Value MHD_FEATURE_HTTPS_COOKIE_PARSING is deprecated, " \
-    "use MHD_FEATURE_COOKIE_PARSING" \
+  "Value MHD_FEATURE_HTTPS_COOKIE_PARSING is deprecated, use 
MHD_FEATURE_COOKIE_PARSING" \
     ) MHD_FEATURE_COOKIE_PARSING
 
 /**
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 19e77e78..94ecb1b7 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -9718,7 +9718,7 @@ MHD_is_feature_supported (enum MHD_FEATURE feature)
 #else
     return MHD_NO;
 #endif
-  case MHD_FEATURE_HTTPS_COOKIE_PARSING:
+  case MHD_FEATURE_COOKIE_PARSING:
 #if defined(COOKIE_SUPPORT)
     return MHD_YES;
 #else

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