You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ma...@apache.org on 2007/08/29 13:15:18 UTC
svn commit: r570753 - /httpd/httpd/trunk/modules/debugging/mod_dumpio.c
Author: martin
Date: Wed Aug 29 04:15:07 2007
New Revision: 570753
URL: http://svn.apache.org/viewvc?rev=570753&view=rev
Log:
For correct dumping, translate data from ASCII
Modified:
httpd/httpd/trunk/modules/debugging/mod_dumpio.c
Modified: httpd/httpd/trunk/modules/debugging/mod_dumpio.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/debugging/mod_dumpio.c?rev=570753&r1=570752&r2=570753&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/debugging/mod_dumpio.c (original)
+++ httpd/httpd/trunk/modules/debugging/mod_dumpio.c Wed Aug 29 04:15:07 2007
@@ -67,6 +67,9 @@
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",