From 76ffb86c041863944e299d66e0e827de18287910 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Sat, 19 Mar 2022 13:14:58 +0300 Subject: [PATCH] MHD_create_response_from_iovec(): fixed formatting --- src/microhttpd/response.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c index ef60c214..64d33c15 100644 --- a/src/microhttpd/response.c +++ b/src/microhttpd/response.c @@ -1549,7 +1549,8 @@ MHD_create_response_from_iovec (const struct MHD_IoVec *iov, return response; } mhd_assert (1 < i_cp); - { + if (1) + { /* for local variables local scope only */ MHD_iovec_ *iov_copy; int num_copy_elements = i_cp; @@ -1586,8 +1587,8 @@ MHD_create_response_from_iovec (const struct MHD_IoVec *iov, mhd_assert (num_copy_elements == i_cp); response->data_iov = iov_copy; response->data_iovcnt = i_cp; - return response; } + return response; }