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 /svr-tcpfwd.c | |
parent | a2d343b1089b0419bb3f297d5df584483c8c896a (diff) |
* rename infd/outfd to writefd/readfd, to avoid confusion
--HG--
extra : convert_revision : e3e7dc2cf75ad60c83a5b4307c210fee2fe90434
Diffstat (limited to 'svr-tcpfwd.c')
-rw-r--r-- | svr-tcpfwd.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/svr-tcpfwd.c b/svr-tcpfwd.c index 3acc4ff..ecfaf2b 100644 --- a/svr-tcpfwd.c +++ b/svr-tcpfwd.c @@ -272,11 +272,9 @@ static int newtcpdirect(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; |