Explorar o código

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 <[email protected]>

Christian Grothoff %!s(int64=2) %!d(string=hai) anos
pai
achega
2f892f4c6b
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/microhttpd/connection.c

+ 2 - 2
src/microhttpd/connection.c

@@ -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
 
 /**