gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] branch master updated (83fe7b77 -> 1ddb4764)


From: gnunet
Subject: [libmicrohttpd] branch master updated (83fe7b77 -> 1ddb4764)
Date: Sat, 14 May 2022 15:52:06 +0200

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

karlson2k pushed a change to branch master
in repository libmicrohttpd.

    from 83fe7b77 Fixed additional compiler warnings on W32
     new e4a40c11 test_response_entries: fixed C standard
     new 1ddb4764 MHD_create_response_empty(): fixed typo

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/microhttpd/response.c              | 2 +-
 src/microhttpd/test_response_entries.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
index 4c6c192a..35e0aaeb 100644
--- a/src/microhttpd/response.c
+++ b/src/microhttpd/response.c
@@ -1702,7 +1702,7 @@ MHD_create_response_empty (enum MHD_ResponseFlags flags)
   r = (struct MHD_Response *) MHD_calloc_ (1, sizeof (struct MHD_Response));
   if (NULL != r)
   {
-    if (! MHD_mutex_init_ (&r->mutex))
+    if (MHD_mutex_init_ (&r->mutex))
     {
       r->fd = -1;
       r->reference_count = 1;
diff --git a/src/microhttpd/test_response_entries.c 
b/src/microhttpd/test_response_entries.c
index 7e1b18a8..d849f1c3 100644
--- a/src/microhttpd/test_response_entries.c
+++ b/src/microhttpd/test_response_entries.c
@@ -50,9 +50,9 @@ int
 main (int argc,
       char *const *argv)
 {
+  struct MHD_Response *r;
   (void) argc;
   (void) argv; /* Unused. Silence compiler warning. */
-  struct MHD_Response *r;
 
   r = MHD_create_response_empty (MHD_RF_NONE);
   if (NULL == r)

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