gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 12/13: connection.c: improved comments


From: gnunet
Subject: [libmicrohttpd] 12/13: connection.c: improved comments
Date: Sat, 30 Oct 2021 19:17:29 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 057ecebe5980e9f9a2e5dbaa1b55a824800ab97b
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sat Oct 30 20:10:09 2021 +0300

    connection.c: improved comments
---
 src/microhttpd/connection.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 5f4ae11f..a73c378f 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -1844,7 +1844,7 @@ buffer_append (char *buf,
  * @param buf_size the size of the @a buf
  * @param response the response
  * @param kind the kind of objects (headers or footers)
- * @param filter_transf_enc skip "Transfer-Encoding" header
+ * @param filter_transf_enc skip "Transfer-Encoding" header if any
  * @param add_close add "close" token to the
  *                  "Connection:" header (if any), ignored if no "Connection:"
  *                  header was added by user or if "close" token is already
@@ -1909,7 +1909,8 @@ add_user_headers (char *buf,
     buf[(*ppos)++] = ':';
     buf[(*ppos)++] = ' ';
     if (add_close || add_keep_alive)
-    { /* "Connection:" header must be always the first one */
+    {
+      /* "Connection:" header must be always the first one */
       mhd_assert (MHD_str_equal_caseless_n_ (hdr->header, \
                                              MHD_HTTP_HEADER_CONNECTION, \
                                              hdr->header_size));

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