summaryrefslogtreecommitdiff
path: root/channels.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels.c b/channels.c
index 2664726a2..283a70323 100644
--- a/channels.c
+++ b/channels.c
@@ -40,7 +40,7 @@
40 */ 40 */
41 41
42#include "includes.h" 42#include "includes.h"
43RCSID("$OpenBSD: channels.c,v 1.124 2001/06/05 10:24:32 markus Exp $"); 43RCSID("$OpenBSD: channels.c,v 1.125 2001/06/07 20:23:04 markus Exp $");
44 44
45#include "ssh.h" 45#include "ssh.h"
46#include "ssh1.h" 46#include "ssh1.h"
@@ -1019,7 +1019,7 @@ channel_post_x11_listener(Channel *c, fd_set * readset, fd_set * writeset)
1019 packet_put_int(nc->self); 1019 packet_put_int(nc->self);
1020 if (packet_get_protocol_flags() & 1020 if (packet_get_protocol_flags() &
1021 SSH_PROTOFLAG_HOST_IN_FWD_OPEN) 1021 SSH_PROTOFLAG_HOST_IN_FWD_OPEN)
1022 packet_put_string(buf, strlen(buf)); 1022 packet_put_cstring(buf);
1023 packet_send(); 1023 packet_send();
1024 } 1024 }
1025 xfree(remote_ipaddr); 1025 xfree(remote_ipaddr);