diff cli-chansession.c @ 449:3e6c536bc023

Add -W <windowsize> argument and document it.
author Matt Johnston <matt@ucc.asn.au>
date Wed, 25 Jul 2007 15:44:25 +0000
parents 9c61e7af0156
children d4f32c3443ac
line wrap: on
line diff
--- a/cli-chansession.c	Tue Jul 24 15:40:23 2007 +0000
+++ b/cli-chansession.c	Wed Jul 25 15:44:25 2007 +0000
@@ -350,7 +350,7 @@
 	channel->errfd = STDERR_FILENO;
 	setnonblocking(STDERR_FILENO);
 
-	channel->extrabuf = cbuf_new(RECV_MAX_WINDOW);
+	channel->extrabuf = cbuf_new(opts.recv_window);
 
 	if (cli_opts.wantpty) {
 		send_chansess_pty_req(channel);