diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-04-08 16:31:00 +0000 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-04-08 16:31:00 +0000 |
commit | 6ec74bd8eb282fb51655e25247c85d58faf3036d (patch) | |
tree | cacffe8a9df1dfd07c19a4b5cd3d07255bb22d7d | |
parent | 65f91e32933c86be0ab3d8283328088bb80e0e4c (diff) | |
download | libmicrohttpd-6ec74bd8eb282fb51655e25247c85d58faf3036d.tar.gz libmicrohttpd-6ec74bd8eb282fb51655e25247c85d58faf3036d.zip |
connection.c: fix using uninitialized variable in build_header_response()
-rw-r--r-- | src/microhttpd/connection.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index dc224588..3fc67319 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c | |||
@@ -1028,6 +1028,7 @@ build_header_response (struct MHD_Connection *connection) | |||
1028 | must_add_keep_alive = MHD_YES; | 1028 | must_add_keep_alive = MHD_YES; |
1029 | break; | 1029 | break; |
1030 | case MHD_CONNECTION_BODY_SENT: | 1030 | case MHD_CONNECTION_BODY_SENT: |
1031 | response_has_keepalive = NULL; | ||
1031 | break; | 1032 | break; |
1032 | default: | 1033 | default: |
1033 | EXTRA_CHECK (0); | 1034 | EXTRA_CHECK (0); |