Mercurial > dropbear
comparison cli-chansession.c @ 293:9d110777f345 contrib-blacklist
propagate from branch 'au.asn.ucc.matt.dropbear' (head 7ad1775ed65e75dbece27fe6b65bf1a234db386a)
to branch 'au.asn.ucc.matt.dropbear.contrib.blacklist' (head 1d86a4f0a401cc68c2670d821a2f6366c37af143)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 10 Mar 2006 06:31:29 +0000 |
parents | 84925eceeb13 |
children | 6b41e2cbf071 baea1d43e7eb |
comparison
equal
deleted
inserted
replaced
247:c07de41b53d7 | 293:9d110777f345 |
---|---|
338 } | 338 } |
339 | 339 |
340 static int cli_initchansess(struct Channel *channel) { | 340 static int cli_initchansess(struct Channel *channel) { |
341 | 341 |
342 | 342 |
343 channel->infd = STDOUT_FILENO; | 343 channel->writefd = STDOUT_FILENO; |
344 setnonblocking(STDOUT_FILENO); | 344 setnonblocking(STDOUT_FILENO); |
345 | 345 |
346 channel->outfd = STDIN_FILENO; | 346 channel->readfd = STDIN_FILENO; |
347 setnonblocking(STDIN_FILENO); | 347 setnonblocking(STDIN_FILENO); |
348 | 348 |
349 channel->errfd = STDERR_FILENO; | 349 channel->errfd = STDERR_FILENO; |
350 setnonblocking(STDERR_FILENO); | 350 setnonblocking(STDERR_FILENO); |
351 | 351 |