diff options
Diffstat (limited to 'cli-chansession.c')
-rw-r--r-- | cli-chansession.c | 2 |
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); |