You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by hu...@apache.org on 2012/07/27 11:57:09 UTC

svn commit: r1366319 - /httpd/httpd/trunk/include/httpd.h

Author: humbedooh
Date: Fri Jul 27 09:57:09 2012
New Revision: 1366319

URL: http://svn.apache.org/viewvc?rev=1366319&view=rev
Log:
ap_str(case)cmp_match returns the opposite of what is advertized in the header.

Modified:
    httpd/httpd/trunk/include/httpd.h

Modified: httpd/httpd/trunk/include/httpd.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/include/httpd.h?rev=1366319&r1=1366318&r2=1366319&view=diff
==============================================================================
--- httpd/httpd/trunk/include/httpd.h (original)
+++ httpd/httpd/trunk/include/httpd.h Fri Jul 27 09:57:09 2012
@@ -1722,7 +1722,7 @@ AP_DECLARE(int) ap_is_matchexp(const cha
  * 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 ch
  * 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);