httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/test cls.c
Date Sun, 23 Jun 2002 06:17:28 GMT
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);
  
  
  

Mime
View raw message