summaryrefslogtreecommitdiff
path: root/clientloop.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2004-06-15 10:35:30 +1000
committerDamien Miller <djm@mindrot.org>2004-06-15 10:35:30 +1000
commit232711f6dbc107711b3957bfa2fd798aec702241 (patch)
tree2dfcd276712caa022fd8aa2f3c1319c13660fdd7 /clientloop.c
parent0e220dbfbcc9fe252e8f1f4890dbfa415aad35db (diff)
- djm@cvs.openbsd.org 2004/06/14 01:44:39
[channels.c clientloop.c misc.c misc.h packet.c ssh-agent.c ssh-keyscan.c] [sshd.c] set_nonblock() instead of fnctl(...,O_NONBLOCK); "looks sane" deraadt@
Diffstat (limited to 'clientloop.c')
-rw-r--r--clientloop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clientloop.c b/clientloop.c
index 6401588a9..eada56033 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -59,7 +59,7 @@
59 */ 59 */
60 60
61#include "includes.h" 61#include "includes.h"
62RCSID("$OpenBSD: clientloop.c,v 1.123 2004/06/13 15:03:02 djm Exp $"); 62RCSID("$OpenBSD: clientloop.c,v 1.124 2004/06/14 01:44:38 djm Exp $");
63 63
64#include "ssh.h" 64#include "ssh.h"
65#include "ssh1.h" 65#include "ssh1.h"
@@ -167,7 +167,7 @@ static void
167enter_non_blocking(void) 167enter_non_blocking(void)
168{ 168{
169 in_non_blocking_mode = 1; 169 in_non_blocking_mode = 1;
170 (void) fcntl(fileno(stdin), F_SETFL, O_NONBLOCK); 170 set_nonblock(fileno(stdin));
171} 171}
172 172
173/* 173/*