libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 76ffb86c041863944e299d66e0e827de18287910
parent 90b00e6f803c69a2b6868cb9ec30e84b08456683
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Sat, 19 Mar 2022 13:14:58 +0300

MHD_create_response_from_iovec(): fixed formatting

Diffstat:
Msrc/microhttpd/response.c | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 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; }