Mercurial > dropbear
diff cli-chansession.c @ 109:2e9d1f29c50f
merge of 50be59810e462f9f44f55e421227d6aa0b31982b
and 69b007796063cb5f042be7cca2d479e90db869c3
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 27 Aug 2004 14:39:01 +0000 |
parents | 10f4d3319780 |
children | 0cfba3034be5 |
line wrap: on
line diff
--- a/cli-chansession.c Thu Aug 26 13:16:40 2004 +0000 +++ b/cli-chansession.c Fri Aug 27 14:39:01 2004 +0000 @@ -341,8 +341,14 @@ channel->infd = STDOUT_FILENO; + setnonblocking(STDOUT_FILENO); + channel->outfd = STDIN_FILENO; + setnonblocking(STDIN_FILENO); + channel->errfd = STDERR_FILENO; + setnonblocking(STDERR_FILENO); + channel->extrabuf = cbuf_new(RECV_MAXWINDOW); if (cli_opts.wantpty) {