diff options
author | Matt Johnston <matt@ucc.asn.au> | 2005-10-20 16:53:12 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2005-10-20 16:53:12 +0000 |
commit | b131f74533ea87d635b62874c35240b8390825e9 (patch) | |
tree | 9649f88a0bc200327de6c7390e7e24dab752f8ad /cli-chansession.c | |
parent | a2d343b1089b0419bb3f297d5df584483c8c896a (diff) |
* rename infd/outfd to writefd/readfd, to avoid confusion
--HG--
extra : convert_revision : e3e7dc2cf75ad60c83a5b4307c210fee2fe90434
Diffstat (limited to 'cli-chansession.c')
-rw-r--r-- | cli-chansession.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli-chansession.c b/cli-chansession.c index a8363ac..6d358b7 100644 --- a/cli-chansession.c +++ b/cli-chansession.c @@ -340,10 +340,10 @@ static void send_chansess_shell_req(struct Channel *channel) { 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; |