comparison 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
comparison
equal deleted inserted replaced
251:b02e8eef3c3a 253:84925eceeb13
184 goto out; 184 goto out;
185 } 185 }
186 186
187 ses.maxfd = MAX(ses.maxfd, sock); 187 ses.maxfd = MAX(ses.maxfd, sock);
188 188
189 /* Note that infd is actually the "outgoing" direction on the 189 /* We don't set readfd, that will get set after the connection's
190 * tcp connection, vice versa for outfd.
191 * We don't set outfd, that will get set after the connection's
192 * progress succeeds */ 190 * progress succeeds */
193 channel->infd = sock; 191 channel->writefd = sock;
194 channel->initconn = 1; 192 channel->initconn = 1;
195 193
196 err = SSH_OPEN_IN_PROGRESS; 194 err = SSH_OPEN_IN_PROGRESS;
197 195
198 out: 196 out: