gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 01/05: response: fixed copy-paste error introduced by b8


From: gnunet
Subject: [libmicrohttpd] 01/05: response: fixed copy-paste error introduced by b8e13a57a0035f1f416d593d64115bd4417c2028
Date: Thu, 28 Apr 2022 18:09:44 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit d147ab196d6bed1e0b48b8925ad2da4cac04f0a1
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu Apr 28 19:05:24 2022 +0300

    response: fixed copy-paste error introduced by 
b8e13a57a0035f1f416d593d64115bd4417c2028
---
 src/microhttpd/response.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
index fd3cd192..65158819 100644
--- a/src/microhttpd/response.c
+++ b/src/microhttpd/response.c
@@ -274,7 +274,8 @@ add_response_header_connection (struct MHD_Response 
*response,
     mhd_assert (0 <= norm_len_s);
     if (0 > norm_len_s)
       norm_len = 0; /* Must never happen */
-    norm_len = (size_t) norm_len;
+    else
+      norm_len = (size_t) norm_len_s;
   }
 #ifdef UPGRADE_SUPPORT
   if ( (NULL != response->upgrade_handler) && value_has_close)

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