From: William A. Rowe Jr Date: Sun, 23 Jun 2002 06:17:28 +0000 (+0000) Subject: Not really sure what this is, but it wasn't aprized. back out rev 1.2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=de748c9a77cfaa2073d03fa032d71f53fff2dd1e;p=apache 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 --- 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);