]> git.pld-linux.org Git - packages/libmicrohttpd.git/blame - libmicrohttpd-messages.patch
- updated to 1.0.0
[packages/libmicrohttpd.git] / libmicrohttpd-messages.patch
CommitLineData
497f8d1f
JB
1From 2f892f4c6bf56e585a624b12b77b992eabbd52e2 Mon Sep 17 00:00:00 2001
2From: Christian Grothoff <christian@grothoff.org>
3Date: Sun, 4 Feb 2024 18:28:44 +0100
4Subject: small typo likely from copy&paste causing macro names to be different
5 between builds with and without messages resulting in compilation failure if
6 configured with --disable-messages
7
8Signed-off-by: Jan Palus <jpalus@fastmail.com>
9---
10 src/microhttpd/connection.c | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-)
12
13diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
14index 2bb37f7f..5f310c8e 100644
15--- a/src/microhttpd/connection.c
16+++ b/src/microhttpd/connection.c
17@@ -381,7 +381,7 @@
18 "<body>HTTP request has invalid character in footer.</body>" \
19 "</html>"
20 #else
21-#define ERR_RSP_INVALID_CHR_IN_HEADER ""
22+#define ERR_RSP_INVALID_CHR_IN_FOOTER ""
23 #endif
24
25 /**
26@@ -394,7 +394,7 @@
27 "<body>HTTP request header line has no colon character.</body>" \
28 "</html>"
29 #else
30-#define ERR_RSP_INVALID_CHR_IN_HEADER ""
31+#define ERR_RSP_HEADER_WITHOUT_COLON ""
32 #endif
33
34 /**
35--
36cgit v1.2.3
37
This page took 0.089489 seconds and 4 git commands to generate.