From 8e0f68ea78f358ed960e20e3a4920c8f591d8eba Mon Sep 17 00:00:00 2001 From: Daniel Gruno Date: Fri, 27 Jul 2012 09:57:09 +0000 Subject: [PATCH] ap_str(case)cmp_match returns the opposite of what is advertized in the header. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1366319 13f79535-47bb-0310-9956-ffa450edef68 --- include/httpd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/httpd.h b/include/httpd.h index 2f6fa6ddc7..799169d422 100644 --- a/include/httpd.h +++ b/include/httpd.h @@ -1722,7 +1722,7 @@ AP_DECLARE(int) ap_is_matchexp(const char *str); * Determine if a string matches a patterm containing the wildcards '?' or '*' * @param str The string to check * @param expected The pattern to match against - * @return 1 if the two strings match, 0 otherwise + * @return 0 if the two strings match, 1 otherwise */ AP_DECLARE(int) ap_strcmp_match(const char *str, const char *expected); @@ -1731,7 +1731,7 @@ AP_DECLARE(int) ap_strcmp_match(const char *str, const char *expected); * ignoring case * @param str The string to check * @param expected The pattern to match against - * @return 1 if the two strings match, 0 otherwise + * @return 0 if the two strings match, 1 otherwise */ AP_DECLARE(int) ap_strcasecmp_match(const char *str, const char *expected); -- 2.40.0