summaryrefslogtreecommitdiff
path: root/test/cls.c
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2002-06-23 06:17:28 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2002-06-23 06:17:28 +0000
commitaf75efc30c77e487fd0e53c23a09ed72f9b42b61 (patch)
treeb76c9c03e4eb6bc637af19a4f4adb6566e0e69cf /test/cls.c
parentad9b6ce48ad73a915fd57a99c65d439ece7c9d18 (diff)
downloadhttpd-af75efc30c77e487fd0e53c23a09ed72f9b42b61.tar.gz
Not really sure what this is, but it wasn't aprized. back out rev 1.2
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95861 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/cls.c')
-rw-r--r--test/cls.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/cls.c b/test/cls.c
index e5910d885a..91114a784c 100644
--- a/test/cls.c
+++ b/test/cls.c
@@ -22,19 +22,19 @@ static int checkmask(const char *data, const char *mask)
ch = mask[i];
d = data[i];
if (ch == '@') {
- if (!apr_isupper(d))
+ if (!isupper(d))
return 0;
}
else if (ch == '$') {
- if (!apr_islower(d))
+ if (!islower(d))
return 0;
}
else if (ch == '#') {
- if (!apr_isdigit(d))
+ if (!isdigit(d))
return 0;
}
else if (ch == '&') {
- if (!apr_isxdigit(d))
+ if (!isxdigit(d))
return 0;
}
else if (ch != d)
@@ -58,9 +58,9 @@ static int hex2sec(const char *x)
for (i = 0, j = 0; i < 8; i++) {
ch = x[i];
j <<= 4;
- if (apr_isdigit(ch))
+ if (isdigit(ch))
j |= ch - '0';
- else if (apr_isupper(ch))
+ else if (isupper(ch))
j |= ch - ('A' - 10);
else
j |= ch - ('a' - 10);