gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] branch master updated: connection.c: Ensure that variabl


From: gnunet
Subject: [libmicrohttpd] branch master updated: connection.c: Ensure that variable is initialized
Date: Wed, 25 Aug 2021 16:21:41 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new d478fcfb connection.c: Ensure that variable is initialized
d478fcfb is described below

commit d478fcfb48fb3b9cc103b7d5cac98f86ccfde23f
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed Aug 25 17:15:38 2021 +0300

    connection.c: Ensure that variable is initialized
---
 src/microhttpd/connection.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index c86dadf5..51574113 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -1732,6 +1732,8 @@ setup_reply_properties (struct MHD_Connection *connection)
       c->keepalive = MHD_CONN_MUST_CLOSE;
     }
   }
+  else
+    use_chunked = false; /* Actually it must not be used without body */
 
   c->rp_props.chunked = use_chunked;
   c->rp_props.set = true;

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