[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>"Cookie:"</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>"Host:" header required</title></head>" \
- "<body>HTTP/1.1 request without <b>"Host:"</b>.</body>"\
+ "<body>HTTP/1.1 request without <b>"Host:"</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.
- [libmicrohttpd] tag stf-m2 created (now 3a520997), gnunet, 2024/07/27
- [libmicrohttpd] 04/335: header work, gnunet, 2024/07/27
- [libmicrohttpd] 06/335: add missing lock, do not call 'close(-1)' on very rare error path, gnunet, 2024/07/27
- [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,
gnunet <=
- [libmicrohttpd] 08/335: clean up logic, simplify one dead branch in test, gnunet, 2024/07/27
- [libmicrohttpd] 07/335: use correct HTTP header (content type, not content encoding) for mime type in example; do check return value in example, gnunet, 2024/07/27
- [libmicrohttpd] 01/335: first edits, gnunet, 2024/07/27
- [libmicrohttpd] 09/335: fix memory leak on error path, gnunet, 2024/07/27
- [libmicrohttpd] 11/335: Fixed some doxy for digest auth, gnunet, 2024/07/27
- [libmicrohttpd] 10/335: fix #8012, gnunet, 2024/07/27
- [libmicrohttpd] 03/335: checkpointing, gnunet, 2024/07/27
- [libmicrohttpd] 02/335: checkpointing, gnunet, 2024/07/27
- [libmicrohttpd] 13/335: digest_auth_example_adv: added new example, gnunet, 2024/07/27
- [libmicrohttpd] 24/335: Fixed compiler warnings, gnunet, 2024/07/27