Mercurial > dropbear
diff cli-chansession.c @ 107:d3eb1fa8484e
Nasty.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 24 Aug 2004 18:12:18 +0000 |
parents | 0247fbd9379d |
children | 10f4d3319780 |
line wrap: on
line diff
--- a/cli-chansession.c Tue Aug 24 07:22:36 2004 +0000 +++ b/cli-chansession.c Tue Aug 24 18:12:18 2004 +0000 @@ -44,7 +44,7 @@ static void cli_tty_setup(); void cli_tty_cleanup(); -static const struct ChanType clichansess = { +const struct ChanType clichansess = { 0, /* sepfds */ "session", /* name */ cli_initchansess, /* inithandler */ @@ -316,7 +316,8 @@ channel->infd = STDOUT_FILENO; channel->outfd = STDIN_FILENO; - //channel->errfd = STDERR_FILENO; + channel->errfd = STDERR_FILENO; + channel->extrabuf = buf_new(RECV_MAXWINDOW); if (cli_opts.wantpty) { send_chansess_pty_req(channel);