1 From 2f892f4c6bf56e585a624b12b77b992eabbd52e2 Mon Sep 17 00:00:00 2001
2 From: Christian Grothoff <christian@grothoff.org>
3 Date: Sun, 4 Feb 2024 18:28:44 +0100
4 Subject: 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
8 Signed-off-by: Jan Palus <jpalus@fastmail.com>
10 src/microhttpd/connection.c | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-)
13 diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
14 index 2bb37f7f..5f310c8e 100644
15 --- a/src/microhttpd/connection.c
16 +++ b/src/microhttpd/connection.c
18 "<body>HTTP request has invalid character in footer.</body>" \
21 -#define ERR_RSP_INVALID_CHR_IN_HEADER ""
22 +#define ERR_RSP_INVALID_CHR_IN_FOOTER ""
27 "<body>HTTP request header line has no colon character.</body>" \
30 -#define ERR_RSP_INVALID_CHR_IN_HEADER ""
31 +#define ERR_RSP_HEADER_WITHOUT_COLON ""