commit 0f30ecc8190bc14b85c06beb86d1f1597a275d61
parent 218694a400beaf164712121475a6e22fd01b7b71
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Wed, 5 Apr 2017 13:05:12 +0300
Fixed wrong macro name in 218694a400beaf164712121475a6e22fd01b7b71
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
@@ -1203,9 +1203,9 @@ build_header_response (struct MHD_Connection *connection)
if (must_add_close)
size += MHD_STATICSTR_LEN_ ("Connection: close\r\n");
if (must_add_keep_alive)
- size += MHD_MACROSTR_LEN_ ("Connection: Keep-Alive\r\n");
+ size += MHD_STATICSTR_LEN_ ("Connection: Keep-Alive\r\n");
if (must_add_chunked_encoding)
- size += MHD_MACROSTR_LEN_ ("Transfer-Encoding: chunked\r\n");
+ size += MHD_STATICSTR_LEN_ ("Transfer-Encoding: chunked\r\n");
if (must_add_content_length)
size += content_length_len;
EXTRA_CHECK (! (must_add_close && must_add_keep_alive) );