Mercurial > dropbear
diff cli-chansession.c @ 293:9d110777f345 contrib-blacklist
propagate from branch 'au.asn.ucc.matt.dropbear' (head 7ad1775ed65e75dbece27fe6b65bf1a234db386a)
to branch 'au.asn.ucc.matt.dropbear.contrib.blacklist' (head 1d86a4f0a401cc68c2670d821a2f6366c37af143)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 10 Mar 2006 06:31:29 +0000 |
parents | 84925eceeb13 |
children | 6b41e2cbf071 baea1d43e7eb |
line wrap: on
line diff
--- a/cli-chansession.c Tue Sep 06 04:57:14 2005 +0000 +++ b/cli-chansession.c Fri Mar 10 06:31:29 2006 +0000 @@ -340,10 +340,10 @@ static int cli_initchansess(struct Channel *channel) { - channel->infd = STDOUT_FILENO; + channel->writefd = STDOUT_FILENO; setnonblocking(STDOUT_FILENO); - channel->outfd = STDIN_FILENO; + channel->readfd = STDIN_FILENO; setnonblocking(STDIN_FILENO); channel->errfd = STDERR_FILENO;