From b131f74533ea87d635b62874c35240b8390825e9 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Thu, 20 Oct 2005 16:53:12 +0000 Subject: * rename infd/outfd to writefd/readfd, to avoid confusion --HG-- extra : convert_revision : e3e7dc2cf75ad60c83a5b4307c210fee2fe90434 --- svr-tcpfwd.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'svr-tcpfwd.c') 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; -- cgit v1.2.3