]> granicus.if.org Git - apache/commitdiff
Not really sure what this is, but it wasn't aprized. back out rev 1.2
authorWilliam A. Rowe Jr <wrowe@apache.org>
Sun, 23 Jun 2002 06:17:28 +0000 (06:17 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Sun, 23 Jun 2002 06:17:28 +0000 (06:17 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95861 13f79535-47bb-0310-9956-ffa450edef68

test/cls.c

index e5910d885aae795182e31477f28d2577dfb4b19a..91114a784ca4aadcc5c8b0ffdf7ad90c210c012d 100644 (file)
@@ -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);