You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by hg...@apache.org on 2001/10/26 16:40:19 UTC

cvs commit: jakarta-tomcat-connectors/jk/native/common jk_msg_buff.c

hgomez      01/10/26 07:40:19

  Modified:    jk/native/common jk_msg_buff.c
  Log:
  Next step on EBCDIC work
  
  Revision  Changes    Path
  1.7       +3 -2      jakarta-tomcat-connectors/jk/native/common/jk_msg_buff.c
  
  Index: jk_msg_buff.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_msg_buff.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- jk_msg_buff.c	2001/06/18 14:15:54	1.6
  +++ jk_msg_buff.c	2001/10/26 14:40:19	1.7
  @@ -60,7 +60,7 @@
    * Author:      Costin <co...@costin.dnt.ro>                              *
    * Author:      Gal Shachor <sh...@il.ibm.com>                           *
    * Author:      Henri Gomez <hg...@slib.fr>                               *
  - * Version:     $Revision: 1.6 $                                           *
  + * Version:     $Revision: 1.7 $                                           *
    ***************************************************************************/
   
   #include "jk_pool.h"
  @@ -291,7 +291,8 @@
       jk_b_append_int(msg, (unsigned short )len);
   
       /* We checked for space !!  */
  -    strncpy((char *)msg->buf + msg->len , param, len+1); /* including \0 */
  +    strncpy((char *)msg->buf + msg->len , param, len+1);    /* including \0 */
  +    jk_xlate_to_ascii((char *)msg->buf + msg->len, len+1);  /* convert from EBCDIC if needed */
       msg->len += len + 1;
   
       return 0;