diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2002-06-23 08:17:28 +0200 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2002-06-23 08:17:28 +0200 |
commit | af75efc30c77e487fd0e53c23a09ed72f9b42b61 (patch) | |
tree | b76c9c03e4eb6bc637af19a4f4adb6566e0e69cf /test/cls.c | |
parent | Adapt to use apr_ischar() (diff) | |
download | apache2-af75efc30c77e487fd0e53c23a09ed72f9b42b61.tar.xz apache2-af75efc30c77e487fd0e53c23a09ed72f9b42b61.zip |
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.c | 12 |
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); |