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-tcpfwd.c | |
parent | a2d343b1089b0419bb3f297d5df584483c8c896a (diff) |
* rename infd/outfd to writefd/readfd, to avoid confusion
--HG--
extra : convert_revision : e3e7dc2cf75ad60c83a5b4307c210fee2fe90434
Diffstat (limited to 'cli-tcpfwd.c')
-rw-r--r-- | cli-tcpfwd.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cli-tcpfwd.c b/cli-tcpfwd.c index 300a2fa..6832cbf 100644 --- a/cli-tcpfwd.c +++ b/cli-tcpfwd.c @@ -186,11 +186,9 @@ static int newtcpforwarded(struct Channel * channel) { ses.maxfd = MAX(ses.maxfd, sock); - /* Note that infd is actually the "outgoing" direction on the - * tcp connection, vice versa for outfd. - * We don't set outfd, that will get set after the connection's + /* We don't set readfd, that will get set after the connection's * progress succeeds */ - channel->infd = sock; + channel->writefd = sock; channel->initconn = 1; err = SSH_OPEN_IN_PROGRESS; |