gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 02/03: MHD_create_response_from_iovec(): fixed formattin


From: gnunet
Subject: [libmicrohttpd] 02/03: MHD_create_response_from_iovec(): fixed formatting
Date: Sat, 19 Mar 2022 11:52:43 +0100

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

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

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

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]