summaryrefslogtreecommitdiff
path: root/strings/apr_fnmatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'strings/apr_fnmatch.c')
-rw-r--r--strings/apr_fnmatch.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/strings/apr_fnmatch.c b/strings/apr_fnmatch.c
index f1c86fca3..131379eca 100644
--- a/strings/apr_fnmatch.c
+++ b/strings/apr_fnmatch.c
@@ -146,7 +146,7 @@ APR_EXPORT(apr_status_t) apr_fnmatch(const char *pattern, const char *string, in
/* FALLTHROUGH */
default:
if (flags & FNM_CASE_BLIND) {
- if (ap_tolower(c) != ap_tolower(*string)) {
+ if (apr_tolower(c) != apr_tolower(*string)) {
return (FNM_NOMATCH);
}
}
@@ -193,14 +193,14 @@ static const char *rangematch(const char *pattern, int test, int flags)
}
if ((c <= test && test <= c2)
|| ((flags & FNM_CASE_BLIND)
- && ((ap_tolower(c) <= ap_tolower(test))
- && (ap_tolower(test) <= ap_tolower(c2))))) {
+ && ((apr_tolower(c) <= apr_tolower(test))
+ && (apr_tolower(test) <= apr_tolower(c2))))) {
ok = 1;
}
}
else if ((c == test)
|| ((flags & FNM_CASE_BLIND)
- && (ap_tolower(c) == ap_tolower(test)))) {
+ && (apr_tolower(c) == apr_tolower(test)))) {
ok = 1;
}
}