diff cli-tcpfwd.c @ 253:84925eceeb13

* rename infd/outfd to writefd/readfd, to avoid confusion
author Matt Johnston <matt@ucc.asn.au>
date Thu, 20 Oct 2005 16:53:12 +0000
parents ca55377e4f7e
children 306499676384
line wrap: on
line diff
--- a/cli-tcpfwd.c	Wed Sep 21 15:58:19 2005 +0000
+++ b/cli-tcpfwd.c	Thu Oct 20 16:53:12 2005 +0000
@@ -186,11 +186,9 @@
 
 	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;