diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-08-25 17:15:38 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-08-25 17:17:41 +0300 |
commit | d478fcfb48fb3b9cc103b7d5cac98f86ccfde23f (patch) | |
tree | 1b380bca7ecd6a107d19164d37303dfe2fd1112e | |
parent | 79868fab86a33a2c28602ad782a57a181512b18e (diff) | |
download | libmicrohttpd-d478fcfb48fb3b9cc103b7d5cac98f86ccfde23f.tar.gz libmicrohttpd-d478fcfb48fb3b9cc103b7d5cac98f86ccfde23f.zip |
connection.c: Ensure that variable is initialized
-rw-r--r-- | src/microhttpd/connection.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) | |||
1732 | c->keepalive = MHD_CONN_MUST_CLOSE; | 1732 | c->keepalive = MHD_CONN_MUST_CLOSE; |
1733 | } | 1733 | } |
1734 | } | 1734 | } |
1735 | else | ||
1736 | use_chunked = false; /* Actually it must not be used without body */ | ||
1735 | 1737 | ||
1736 | c->rp_props.chunked = use_chunked; | 1738 | c->rp_props.chunked = use_chunked; |
1737 | c->rp_props.set = true; | 1739 | c->rp_props.set = true; |