gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 05/335: small typo likely from copy&paste causing macro


From: gnunet
Subject: [libmicrohttpd] 05/335: small typo likely from copy&paste causing macro names to be different between builds with and without messages resulting in compilation failure if configured with --disable-messages
Date: Sat, 27 Jul 2024 21:58:21 +0200

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

grothoff pushed a commit to tag stf-m2
in repository libmicrohttpd.

commit 93a333ac70a3d92e553d998660e818c4157258c0
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Feb 4 18:28:44 2024 +0100

    small typo likely from copy&paste causing macro names to be different
    between builds with and without messages resulting in compilation
    failure if configured with --disable-messages
    
    Signed-off-by: Jan Palus <jpalus@fastmail.com>
---
 src/microhttpd/connection.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index a452afcf..36791a24 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -104,7 +104,7 @@
   "<body><p>The total size of the request headers, which includes the " \
   "request target and the request field lines, exceeds the memory " \
   "constraints of this web server.</p>" \
-  "<p>The request could be re-tried with shorter field lines, a shorter "\
+  "<p>The request could be re-tried with shorter field lines, a shorter " \
   "request target or a shorter request method token.</p></body>" \
   "</html>"
 #else
@@ -120,7 +120,7 @@
   "<head><title>Request too big</title></head>" \
   "<body><p>The total size of the request headers, which includes the " \
   "request target and the request field lines, exceeds the memory " \
-  "constraints of this web server.</p> "\
+  "constraints of this web server.</p> " \
   "<p>The request could be re-tried with smaller " \
   "<b>&quot;Cookie:&quot;</b> field value, shorter other field lines, " \
   "a shorter request target or a shorter request method token.</p></body> " \
@@ -381,7 +381,7 @@
   "<body>HTTP request has invalid character in footer.</body>" \
   "</html>"
 #else
-#define ERR_RSP_INVALID_CHR_IN_HEADER ""
+#define ERR_RSP_INVALID_CHR_IN_FOOTER ""
 #endif
 
 /**
@@ -394,7 +394,7 @@
   "<body>HTTP request header line has no colon character.</body>" \
   "</html>"
 #else
-#define ERR_RSP_INVALID_CHR_IN_HEADER ""
+#define ERR_RSP_HEADER_WITHOUT_COLON ""
 #endif
 
 /**
@@ -447,7 +447,7 @@
 #define REQUEST_LACKS_HOST \
   "<html>" \
   "<head><title>&quot;Host:&quot; header required</title></head>" \
-  "<body>HTTP/1.1 request without <b>&quot;Host:&quot;</b>.</body>"\
+  "<body>HTTP/1.1 request without <b>&quot;Host:&quot;</b>.</body>" \
   "</html>"
 
 #else
@@ -556,7 +556,7 @@
 #define ERROR_MSG_DATA_NOT_HANDLED_BY_APP \
   "<html><head><title>Internal server error</title></head>" \
   "<body>Please ask the developer of this Web server to carefully " \
-  "read the GNU libmicrohttpd documentation about connection "\
+  "read the GNU libmicrohttpd documentation about connection " \
   "management and blocking.</body></html>"
 #else
 #define ERROR_MSG_DATA_NOT_HANDLED_BY_APP ""

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