summaryrefslogtreecommitdiffstats
path: root/server/util_pcre.c
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2018-02-16 11:01:13 +0100
committerYann Ylavic <ylavic@apache.org>2018-02-16 11:01:13 +0100
commitec8855dcfd756e64563507f2238646ffb7900af5 (patch)
tree57103706323c348a496b00d4023eed8f03d37ac7 /server/util_pcre.c
parentmod_session: Strip Session header when SessionEnv is on. (diff)
downloadapache2-ec8855dcfd756e64563507f2238646ffb7900af5.tar.xz
apache2-ec8855dcfd756e64563507f2238646ffb7900af5.zip
Follow up to r1824339: s/strcasecmp/ap_cstr_casecmp/ as suggested by Ruediger.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1824439 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/util_pcre.c')
-rw-r--r--server/util_pcre.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/util_pcre.c b/server/util_pcre.c
index a7a00ffacc..5f781a46bd 100644
--- a/server/util_pcre.c
+++ b/server/util_pcre.c
@@ -164,16 +164,16 @@ AP_DECLARE(int) ap_regcomp_default_cflag_by_name(const char *name)
{
int cflag = 0;
- if (strcasecmp(name, "ICASE") == 0) {
+ if (ap_cstr_casecmp(name, "ICASE") == 0) {
cflag = AP_REG_ICASE;
}
- else if (strcasecmp(name, "DOTALL") == 0) {
+ else if (ap_cstr_casecmp(name, "DOTALL") == 0) {
cflag = AP_REG_DOTALL;
}
- else if (strcasecmp(name, "DOLLAR_ENDONLY") == 0) {
+ else if (ap_cstr_casecmp(name, "DOLLAR_ENDONLY") == 0) {
cflag = AP_REG_DOLLAR_ENDONLY;
}
- else if (strcasecmp(name, "EXTENDED") == 0) {
+ else if (ap_cstr_casecmp(name, "EXTENDED") == 0) {
cflag = AP_REG_EXTENDED;
}