From: Martin Kraemer Date: Wed, 29 Aug 2007 11:15:07 +0000 (+0000) Subject: For correct dumping, translate data from ASCII X-Git-Tag: 2.3.0~1511 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e05d0f782ea1c2ced97188054e0a799f1d9b2f2;p=apache For correct dumping, translate data from ASCII git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@570753 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/debugging/mod_dumpio.c b/modules/debugging/mod_dumpio.c index a0cf22d2e0..f4fdbba0aa 100644 --- a/modules/debugging/mod_dumpio.c +++ b/modules/debugging/mod_dumpio.c @@ -67,6 +67,9 @@ static void dumpit(ap_filter_t *f, apr_bucket *b) if (nbytes) { obuf = malloc(nbytes+1); /* use pool? */ memcpy(obuf, buf, nbytes); +#if APR_CHARSET_EBCDIC + ap_xlate_proto_from_ascii(obuf, nbytes); +#endif obuf[nbytes] = '\0'; ap_log_error(APLOG_MARK, ptr->loglevel, 0, c->base_server, "mod_dumpio: %s (%s-%s): %s",