summaryrefslogtreecommitdiff
path: root/cli-chansession.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2007-07-25 15:44:25 +0000
committerMatt Johnston <matt@ucc.asn.au>2007-07-25 15:44:25 +0000
commitfde2bbdaa535e3668064ee99eb1a498dcdd093b5 (patch)
treef269a94ae31377093d06b59afe17ba38865f22a6 /cli-chansession.c
parent91bb52154adec3044620b8d8fbb2566d9072e6f7 (diff)
downloaddropbear-fde2bbdaa535e3668064ee99eb1a498dcdd093b5.tar.gz
Add -W <windowsize> argument and document it.
Diffstat (limited to 'cli-chansession.c')
-rw-r--r--cli-chansession.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli-chansession.c b/cli-chansession.c
index e4ec45c..c92f902 100644
--- a/cli-chansession.c
+++ b/cli-chansession.c
@@ -350,7 +350,7 @@ static int cli_initchansess(struct Channel *channel) {
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);