gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] branch master updated (19591dfc -> 08ea0cc8


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] branch master updated (19591dfc -> 08ea0cc8)
Date: Wed, 01 May 2019 21:12:08 +0200

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

karlson2k pushed a change to branch master
in repository libmicrohttpd.

    from 19591dfc Fixed C++-style comments.
     new d533ad51 mhd_str: include proper and simpler header
     new 08ea0cc8 response.c: added missing assigment of 
MHD_HTTP_Header::value_size

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/mhd_str.h  | 2 +-
 src/microhttpd/response.c | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/microhttpd/mhd_str.h b/src/microhttpd/mhd_str.h
index 410cc36e..0f39f6f8 100644
--- a/src/microhttpd/mhd_str.h
+++ b/src/microhttpd/mhd_str.h
@@ -29,7 +29,7 @@
 #include "mhd_options.h"
 
 #include <stdint.h>
-#include <stdlib.h>
+#include <stddef.h>
 #ifdef HAVE_STDBOOL_H
 #include <stdbool.h>
 #endif /* HAVE_STDBOOL_H */
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
index b6248145..9f3d731d 100644
--- a/src/microhttpd/response.c
+++ b/src/microhttpd/response.c
@@ -111,6 +111,7 @@ add_response_entry (struct MHD_Response *response,
       free (hdr);
       return MHD_NO;
     }
+  hdr->value_size = strlen (content);
   hdr->kind = kind;
   hdr->next = response->first_header;
   response->first_header = hdr;

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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