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/server util_script.c
Date Sun, 23 Jun 2002 06:15:03 GMT
wrowe       2002/06/22 23:15:03

  Modified:    server   util_script.c
  Log:
    Use apr_ flavors of ischar()
  
  Revision  Changes    Path
  1.79      +2 -2      httpd-2.0/server/util_script.c
  
  Index: util_script.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/util_script.c,v
  retrieving revision 1.78
  retrieving revision 1.79
  diff -u -r1.78 -r1.79
  --- util_script.c	17 May 2002 11:11:38 -0000	1.78
  +++ util_script.c	23 Jun 2002 06:15:03 -0000	1.79
  @@ -519,9 +519,9 @@
   
   	    for (cp = w; *cp != '\0'; ++cp) {
                   native = apr_xlate_conv_byte(ap_hdrs_from_ascii, *cp);
  -		if (isprint(*cp) && !isprint(native))
  +		if (apr_isprint(*cp) && !apr_isprint(native))
   		    ++maybeEBCDIC;
  -		if (!isprint(*cp) && isprint(native))
  +		if (!apr_isprint(*cp) && apr_isprint(native))
   		    ++maybeASCII;
               }
   	    if (maybeASCII > maybeEBCDIC) {
  
  
  

Mime
View raw message