aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/connection.c
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2014-12-24 19:00:23 +0000
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2014-12-24 19:00:23 +0000
commit7c2493d59c5d1d54f9aa0a2739fe6a539273edf8 (patch)
tree303bc115bfc6bf962cb0a17baa2991adce509d8f /src/microhttpd/connection.c
parent0016974ba87f59c9bcd8cd02e01dee635b2fc37c (diff)
downloadlibmicrohttpd-7c2493d59c5d1d54f9aa0a2739fe6a539273edf8.tar.gz
libmicrohttpd-7c2493d59c5d1d54f9aa0a2739fe6a539273edf8.zip
One more strcasecmp() replace with macro
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r--src/microhttpd/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index d017313a..87951736 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -2590,7 +2590,7 @@ MHD_connection_handle_idle (struct MHD_Connection *connection)
2590 end = 2590 end =
2591 MHD_get_response_header (connection->response, 2591 MHD_get_response_header (connection->response,
2592 MHD_HTTP_HEADER_CONNECTION); 2592 MHD_HTTP_HEADER_CONNECTION);
2593 client_close = ((NULL != end) && (0 == strcasecmp (end, "close"))); 2593 client_close = ((NULL != end) && (MHD_str_equal_caseless_(end, "close")));
2594 MHD_destroy_response (connection->response); 2594 MHD_destroy_response (connection->response);
2595 connection->response = NULL; 2595 connection->response = NULL;
2596 if ( (NULL != daemon->notify_completed) && 2596 if ( (NULL != daemon->notify_completed) &&