summaryrefslogtreecommitdiffstats
path: root/modules/debugging
diff options
context:
space:
mode:
authorMartin Kraemer <martin@apache.org>2007-08-29 13:15:07 +0200
committerMartin Kraemer <martin@apache.org>2007-08-29 13:15:07 +0200
commit8e05d0f782ea1c2ced97188054e0a799f1d9b2f2 (patch)
treee2df10af989d591ea3e72fd908b84693107a679a /modules/debugging
parentMake Bill happy ;) (diff)
downloadapache2-8e05d0f782ea1c2ced97188054e0a799f1d9b2f2.tar.xz
apache2-8e05d0f782ea1c2ced97188054e0a799f1d9b2f2.zip
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
Diffstat (limited to 'modules/debugging')
-rw-r--r--modules/debugging/mod_dumpio.c3
1 files changed, 3 insertions, 0 deletions
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",