httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r571109 - /httpd/httpd/branches/2.2.x/modules/debug/mod_dumpio.c
Date Thu, 30 Aug 2007 10:41:02 GMT
Author: martin
Date: Thu Aug 30 03:40:57 2007
New Revision: 571109

URL: http://svn.apache.org/viewvc?rev=571109&view=rev
Log:
For correct dumping on EBCDIC machines, translate data from ASCII

Modified:
    httpd/httpd/branches/2.2.x/modules/debug/mod_dumpio.c

Modified: httpd/httpd/branches/2.2.x/modules/debug/mod_dumpio.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/modules/debug/mod_dumpio.c?rev=571109&r1=571108&r2=571109&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/modules/debug/mod_dumpio.c (original)
+++ httpd/httpd/branches/2.2.x/modules/debug/mod_dumpio.c Thu Aug 30 03:40:57 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",



Mime
View raw message