gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] branch master updated: -whitespace and indentation chang


From: gnunet
Subject: [libmicrohttpd] branch master updated: -whitespace and indentation changes only
Date: Sun, 18 Feb 2024 15:16:57 +0100

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

grothoff pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new 6fe3a41c -whitespace and indentation changes only
6fe3a41c is described below

commit 6fe3a41caeb043e77ffeb289d4ede37056b904a3
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Feb 18 15:16:54 2024 +0100

    -whitespace and indentation changes only
---
 src/microhttpd/connection.c | 12 +++++++-----
 src/testzzuf/Makefile.am    |  8 ++++----
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 5f310c8e..aa7734ab 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -2210,7 +2210,8 @@ setup_reply_properties (struct MHD_Connection *connection)
   c->rp.props.use_reply_body_headers = (use_rp_body >= RP_BODY_HEADERS_ONLY);
 
 #ifdef UPGRADE_SUPPORT
-  mhd_assert ((NULL == r->upgrade_handler) || (RP_BODY_NONE == use_rp_body));
+  mhd_assert ( (NULL == r->upgrade_handler) ||
+               (RP_BODY_NONE == use_rp_body) );
 #endif /* UPGRADE_SUPPORT */
 
   if (c->rp.props.use_reply_body_headers)
@@ -2237,7 +2238,8 @@ setup_reply_properties (struct MHD_Connection *connection)
     else
       use_chunked = false;
 
-    if ( (MHD_SIZE_UNKNOWN == r->total_size) && ! use_chunked)
+    if ( (MHD_SIZE_UNKNOWN == r->total_size) &&
+         (! use_chunked) )
     {
       /* End of the stream is indicated by closure */
       c->keepalive = MHD_CONN_MUST_CLOSE;
@@ -2262,10 +2264,11 @@ check_connection_reply (struct MHD_Connection 
*connection)
 {
   struct MHD_Connection *const c = connection; /**< a short alias */
   struct MHD_Response *const r = c->rp.response;  /**< a short alias */
-  mhd_assert (c->rp.props.set);
 
+  mhd_assert (c->rp.props.set);
 #ifdef HAVE_MESSAGES
-  if ((! c->rp.props.use_reply_body_headers) && (0 != r->total_size))
+  if ( (! c->rp.props.use_reply_body_headers) &&
+       (0 != r->total_size) )
   {
     MHD_DLOG (c->daemon,
               _ ("This reply with response code %u cannot use reply body. "
@@ -2477,7 +2480,6 @@ build_header_response (struct MHD_Connection *connection)
   mhd_assert (NULL != r);
 
   /* ** Adjust response properties ** */
-
   setup_reply_properties (c);
 
   mhd_assert (c->rp.props.set);
diff --git a/src/testzzuf/Makefile.am b/src/testzzuf/Makefile.am
index f38c6d0e..5aa7cfa7 100644
--- a/src/testzzuf/Makefile.am
+++ b/src/testzzuf/Makefile.am
@@ -8,10 +8,10 @@ SUBDIRS  = .
 ZZUF_SEED = 0
 
 # Additional flags for zzuf
-ZZUF_FLAGS = 
+ZZUF_FLAGS =
 
 # Additional flags for socat (if socat is used)
-SOCAT_FLAGS = 
+SOCAT_FLAGS =
 
 if FORCE_USE_ZZUF_SOCAT
 TEST_RUNNER_SCRIPT = zzuf_socat_test_runner.sh
@@ -95,9 +95,9 @@ warn_vheavy_use:
        @echo "NOTICE" ; \
        echo "NOTICE: Full heavy tests are enabled. Each test may take up to 
several minutes to complete." ; \
        echo "NOTICE"
-       
 
-tests_common_sources = mhd_debug_funcs.h mhd_debug_funcs.c 
+
+tests_common_sources = mhd_debug_funcs.h mhd_debug_funcs.c
 
 test_get_SOURCES = \
   test_get.c $(tests_common_sources)

-- 
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]