comparison 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
comparison
equal deleted inserted replaced
251:b02e8eef3c3a 253:84925eceeb13
270 goto out; 270 goto out;
271 } 271 }
272 272
273 ses.maxfd = MAX(ses.maxfd, sock); 273 ses.maxfd = MAX(ses.maxfd, sock);
274 274
275 /* Note that infd is actually the "outgoing" direction on the 275 /* We don't set readfd, that will get set after the connection's
276 * tcp connection, vice versa for outfd.
277 * We don't set outfd, that will get set after the connection's
278 * progress succeeds */ 276 * progress succeeds */
279 channel->infd = sock; 277 channel->writefd = sock;
280 channel->initconn = 1; 278 channel->initconn = 1;
281 279
282 err = SSH_OPEN_IN_PROGRESS; 280 err = SSH_OPEN_IN_PROGRESS;
283 281
284 out: 282 out: