diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-03-19 13:14:58 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-03-19 13:14:58 +0300 |
commit | 76ffb86c041863944e299d66e0e827de18287910 (patch) | |
tree | 2352987f541f13d807587a854d05a202b0954507 /src | |
parent | 90b00e6f803c69a2b6868cb9ec30e84b08456683 (diff) | |
download | libmicrohttpd-76ffb86c041863944e299d66e0e827de18287910.tar.gz libmicrohttpd-76ffb86c041863944e299d66e0e827de18287910.zip |
MHD_create_response_from_iovec(): fixed formatting
Diffstat (limited to 'src')
-rw-r--r-- | src/microhttpd/response.c | 5 |
1 files 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, | |||
1549 | return response; | 1549 | return response; |
1550 | } | 1550 | } |
1551 | mhd_assert (1 < i_cp); | 1551 | mhd_assert (1 < i_cp); |
1552 | { | 1552 | if (1) |
1553 | { /* for local variables local scope only */ | ||
1553 | MHD_iovec_ *iov_copy; | 1554 | MHD_iovec_ *iov_copy; |
1554 | int num_copy_elements = i_cp; | 1555 | int num_copy_elements = i_cp; |
1555 | 1556 | ||
@@ -1586,8 +1587,8 @@ MHD_create_response_from_iovec (const struct MHD_IoVec *iov, | |||
1586 | mhd_assert (num_copy_elements == i_cp); | 1587 | mhd_assert (num_copy_elements == i_cp); |
1587 | response->data_iov = iov_copy; | 1588 | response->data_iov = iov_copy; |
1588 | response->data_iovcnt = i_cp; | 1589 | response->data_iovcnt = i_cp; |
1589 | return response; | ||
1590 | } | 1590 | } |
1591 | return response; | ||
1591 | } | 1592 | } |
1592 | 1593 | ||
1593 | 1594 | ||