]> andersk Git - openssh.git/blobdiff - channels.c
- markus@cvs.openbsd.org 2001/06/07 20:23:05
[openssh.git] / channels.c
index 2664726a24af336d6482479f6df52a569776317e..283a70323ad5cc951f84879f95a4ea58f8297eb6 100644 (file)
@@ -40,7 +40,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: channels.c,v 1.124 2001/06/05 10:24:32 markus Exp $");
+RCSID("$OpenBSD: channels.c,v 1.125 2001/06/07 20:23:04 markus Exp $");
 
 #include "ssh.h"
 #include "ssh1.h"
@@ -1019,7 +1019,7 @@ channel_post_x11_listener(Channel *c, fd_set * readset, fd_set * writeset)
                        packet_put_int(nc->self);
                        if (packet_get_protocol_flags() &
                            SSH_PROTOFLAG_HOST_IN_FWD_OPEN)
-                               packet_put_string(buf, strlen(buf));
+                               packet_put_cstring(buf);
                        packet_send();
                }
                xfree(remote_ipaddr);
This page took 0.034627 seconds and 4 git commands to generate.