diff options
author | Brian Pane <brianp@apache.org> | 2002-06-23 11:01:22 +0200 |
---|---|---|
committer | Brian Pane <brianp@apache.org> | 2002-06-23 11:01:22 +0200 |
commit | b2fe8e6f272fe3188aca3477f9e292df42f0c46c (patch) | |
tree | 4660ef5a27c94dc883e0e08d4ff9984952aae31e /include | |
parent | Convert the hostname to all-lowercase in fix_hostname() so that (diff) | |
download | apache2-b2fe8e6f272fe3188aca3477f9e292df42f0c46c.tar.xz apache2-b2fe8e6f272fe3188aca3477f9e292df42f0c46c.zip |
Removed "tolower(++s)" idiom from ap_strcasestr(), to avoid side-effects
on any platform with a macro-based tolower() that references its argument
multiple times.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95867 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r-- | include/httpd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/httpd.h b/include/httpd.h index c6f2d029e6..f563951cca 100644 --- a/include/httpd.h +++ b/include/httpd.h @@ -1453,6 +1453,7 @@ AP_DECLARE(int) ap_strcasecmp_match(const char *str, const char *exp); * @param s1 The string to search * @param s2 The substring to search for * @return A pointer to the beginning of the substring + * @remark See apr_strmatch() for a faster alternative */ AP_DECLARE(char *) ap_strcasestr(const char *s1, const char *s2); |