mirror of
https://github.com/apache/httpd.git
synced 2025-11-06 16:49:32 +03:00
Use apr_ flavors of ischar()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95859 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -519,9 +519,9 @@ AP_DECLARE(int) ap_scan_script_header_err_core(request_rec *r, char *buffer,
|
|||||||
|
|
||||||
for (cp = w; *cp != '\0'; ++cp) {
|
for (cp = w; *cp != '\0'; ++cp) {
|
||||||
native = apr_xlate_conv_byte(ap_hdrs_from_ascii, *cp);
|
native = apr_xlate_conv_byte(ap_hdrs_from_ascii, *cp);
|
||||||
if (isprint(*cp) && !isprint(native))
|
if (apr_isprint(*cp) && !apr_isprint(native))
|
||||||
++maybeEBCDIC;
|
++maybeEBCDIC;
|
||||||
if (!isprint(*cp) && isprint(native))
|
if (!apr_isprint(*cp) && apr_isprint(native))
|
||||||
++maybeASCII;
|
++maybeASCII;
|
||||||
}
|
}
|
||||||
if (maybeASCII > maybeEBCDIC) {
|
if (maybeASCII > maybeEBCDIC) {
|
||||||
|
|||||||
Reference in New Issue
Block a user