From: Daniel Gruno Date: Fri, 27 Jul 2012 09:57:09 +0000 (+0000) Subject: ap_str(case)cmp_match returns the opposite of what is advertized in the header. X-Git-Tag: 2.5.0-alpha~6580 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e0f68ea78f358ed960e20e3a4920c8f591d8eba;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/include/httpd.h b/include/httpd.h index 2f6fa6ddc71..799169d422c 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);