]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
ap_str(case)cmp_match returns the opposite of what is advertized in the header.
authorDaniel Gruno <humbedooh@apache.org>
Fri, 27 Jul 2012 09:57:09 +0000 (09:57 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Fri, 27 Jul 2012 09:57:09 +0000 (09:57 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1366319 13f79535-47bb-0310-9956-ffa450edef68

include/httpd.h

index 2f6fa6ddc7134544e8386226c97bfe30b435df72..799169d422c9fb1c24350432b8b9b45ff296bd30 100644 (file)
@@ -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);