libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 7c2493d59c5d1d54f9aa0a2739fe6a539273edf8
parent 0016974ba87f59c9bcd8cd02e01dee635b2fc37c
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Wed, 24 Dec 2014 19:00:23 +0000

One more strcasecmp() replace with macro

Diffstat:
Msrc/microhttpd/connection.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c @@ -2590,7 +2590,7 @@ MHD_connection_handle_idle (struct MHD_Connection *connection) end = MHD_get_response_header (connection->response, MHD_HTTP_HEADER_CONNECTION); - client_close = ((NULL != end) && (0 == strcasecmp (end, "close"))); + client_close = ((NULL != end) && (MHD_str_equal_caseless_(end, "close"))); MHD_destroy_response (connection->response); connection->response = NULL; if ( (NULL != daemon->notify_completed) &&