Skip to content

Commit de748c9

Browse files
committed
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
1 parent 163cd51 commit de748c9

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

test/cls.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@ static int checkmask(const char *data, const char *mask)
2222
ch = mask[i];
2323
d = data[i];
2424
if (ch == '@') {
25-
if (!apr_isupper(d))
25+
if (!isupper(d))
2626
return 0;
2727
}
2828
else if (ch == '$') {
29-
if (!apr_islower(d))
29+
if (!islower(d))
3030
return 0;
3131
}
3232
else if (ch == '#') {
33-
if (!apr_isdigit(d))
33+
if (!isdigit(d))
3434
return 0;
3535
}
3636
else if (ch == '&') {
37-
if (!apr_isxdigit(d))
37+
if (!isxdigit(d))
3838
return 0;
3939
}
4040
else if (ch != d)
@@ -58,9 +58,9 @@ static int hex2sec(const char *x)
5858
for (i = 0, j = 0; i < 8; i++) {
5959
ch = x[i];
6060
j <<= 4;
61-
if (apr_isdigit(ch))
61+
if (isdigit(ch))
6262
j |= ch - '0';
63-
else if (apr_isupper(ch))
63+
else if (isupper(ch))
6464
j |= ch - ('A' - 10);
6565
else
6666
j |= ch - ('a' - 10);

0 commit comments

Comments
 (0)