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:15:03 UTC

cvs commit: httpd-2.0/server util_script.c

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) {