gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 01/03: MHD_queue_response(): fixed check for HTTP/1.0 mo


From: gnunet
Subject: [libmicrohttpd] 01/03: MHD_queue_response(): fixed check for HTTP/1.0 mode
Date: Mon, 21 Jun 2021 12:45:13 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 4cce973ea2ff3e4466ded5f66ecce2cfefec8b40
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Mon Jun 21 13:26:32 2021 +0300

    MHD_queue_response(): fixed check for HTTP/1.0 mode
---
 src/microhttpd/connection.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index e274ace5..9a8209ed 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -4318,8 +4318,8 @@ MHD_queue_response (struct MHD_Connection *connection,
 #endif
       return MHD_NO;
     }
-    if (0 != response->flags & (MHD_RF_HTTP_VERSION_1_0_ONLY
-                                | MHD_RF_HTTP_VERSION_1_0_RESPONSE))
+    if (0 != (response->flags & (MHD_RF_HTTP_VERSION_1_0_ONLY
+                                 | MHD_RF_HTTP_VERSION_1_0_RESPONSE)))
     {
 #ifdef HAVE_MESSAGES
       MHD_DLOG (daemon,

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