gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] 02/02: response.c: added missing assigment


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 02/02: response.c: added missing assigment of MHD_HTTP_Header::value_size
Date: Wed, 01 May 2019 21:12:10 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 08ea0cc894bfdd9aeddeb8bb113514c247d2c69e
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Wed May 1 14:28:13 2019 +0300

    response.c: added missing assigment of MHD_HTTP_Header::value_size
---
 src/microhttpd/response.c | 1 +
 1 file changed, 1 insertion(+)

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]