summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2015-11-23 16:58:25 +0100
committerJim Jagielski <jim@apache.org>2015-11-23 16:58:25 +0100
commit15d829531ede89167028a829daabe0b7021b65da (patch)
tree84ec60742304df9771b5539ccf5f02f26bfafe51 /include
parentMMN update and func name change (diff)
downloadapache2-15d829531ede89167028a829daabe0b7021b65da.tar.xz
apache2-15d829531ede89167028a829daabe0b7021b65da.zip
we just worry about "equality" with this implementation...
So it's not a "real" strcasecmp replacement. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715859 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/httpd.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/httpd.h b/include/httpd.h
index 855733df50..1ac9a23f2e 100644
--- a/include/httpd.h
+++ b/include/httpd.h
@@ -2442,9 +2442,8 @@ AP_DECLARE(int) ap_array_str_contains(const apr_array_header_t *array,
* Known-fast version of strcasecmp(): ASCII case-folding, POSIX compliant
* @param s1 The 1st string to compare
* @param s2 The 2nd string to compare
- * @return integer greater than, equal to, or less than 0, depending on
- * if s1 is lexicographically greater than, equal to, or less
- * than s2 ignoring case.
+ * @return 0 if s1 is lexicographically equal to s2 ignoring case;
+ * non-0 otherwise.
*/
AP_DECLARE(int) ap_casecmpstr(const char *s1, const char *s2);
@@ -2453,9 +2452,8 @@ AP_DECLARE(int) ap_casecmpstr(const char *s1, const char *s2);
* @param s1 The 1st string to compare
* @param s2 The 2nd string to compare
* @param n Maximum number of characters in the strings to compare
- * @return integer greater than, equal to, or less than 0, depending on
- * if s1 is lexicographically greater than, equal to, or less
- * than s2 ignoring case.
+ * @return 0 if s1 is lexicographically equal to s2 ignoring case;
+ * non-0 otherwise.
*/
AP_DECLARE(int) ap_casecmpstrn(const char *s1, const char *s2, apr_size_t n);