]> granicus.if.org Git - apache/commitdiff
Follow up to r1824339: s/strcasecmp/ap_cstr_casecmp/ as suggested by Ruediger.
authorYann Ylavic <ylavic@apache.org>
Fri, 16 Feb 2018 10:01:13 +0000 (10:01 +0000)
committerYann Ylavic <ylavic@apache.org>
Fri, 16 Feb 2018 10:01:13 +0000 (10:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1824439 13f79535-47bb-0310-9956-ffa450edef68

server/util_pcre.c

index a7a00ffaccc59bd4f7648dfcc5cbb01cdffbceaa..5f781a46bd5cb5fc444f1d1439bc9e9a90bb70fc 100644 (file)
@@ -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;
     }