diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2014-12-24 19:00:23 +0000 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2014-12-24 19:00:23 +0000 |
commit | 7c2493d59c5d1d54f9aa0a2739fe6a539273edf8 (patch) | |
tree | 303bc115bfc6bf962cb0a17baa2991adce509d8f /src/microhttpd/connection.c | |
parent | 0016974ba87f59c9bcd8cd02e01dee635b2fc37c (diff) | |
download | libmicrohttpd-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.c | 2 |
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) && |