summaryrefslogtreecommitdiff
path: root/strings/apr_fnmatch.c
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2000-08-06 06:07:33 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2000-08-06 06:07:33 +0000
commit06b2035cc7444370e4ad913f25e400545915a743 (patch)
tree4f0eea47f7ec42ad43d4b3fad7f7d5907e416115 /strings/apr_fnmatch.c
parent6105382e1c48011d628cd0562e87471ca605e8cb (diff)
downloadlibapr-06b2035cc7444370e4ad913f25e400545915a743.tar.gz
Remaining cleanup of ap_ -> apr_ and AP_ -> APR_ transformation...
see src/lib/apr/apr_compat.h for most details. Also a few minor nits to get Win32 to build. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60481 13f79535-47bb-0310-9956-ffa450edef68
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;
}
}