You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2002/06/23 08:17:28 UTC
cvs commit: httpd-2.0/test cls.c
wrowe 2002/06/22 23:17:28
Modified: test cls.c
Log:
Not really sure what this is, but it wasn't aprized. back out rev 1.2
Revision Changes Path
1.3 +6 -6 httpd-2.0/test/cls.c
Index: cls.c
===================================================================
RCS file: /home/cvs/httpd-2.0/test/cls.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- cls.c 23 Jun 2002 06:16:05 -0000 1.2
+++ cls.c 23 Jun 2002 06:17:28 -0000 1.3
@@ -22,19 +22,19 @@
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 @@
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);