diff svr-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 161557a9dde8
children 306499676384
line wrap: on
line diff
--- a/svr-tcpfwd.c	Wed Sep 21 15:58:19 2005 +0000
+++ b/svr-tcpfwd.c	Thu Oct 20 16:53:12 2005 +0000
@@ -272,11 +272,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;