summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/clientloop.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2004-06-15 05:45:05 +0000
committerDamien Miller <djm@cvs.openbsd.org>2004-06-15 05:45:05 +0000
commit94f13c1d87ceb21b08df989e5ba298d7aae7cd75 (patch)
tree24e270bc6c30074b64c917a7b92eba68c86a95e3 /usr.bin/ssh/clientloop.c
parent41d06bcb4c619b1265efaf3ab3edbc0f5d56b043 (diff)
missed one unset_nonblock; spotted by Tim Rice
Diffstat (limited to 'usr.bin/ssh/clientloop.c')
-rw-r--r--usr.bin/ssh/clientloop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/clientloop.c b/usr.bin/ssh/clientloop.c
index eada56033a1..6b849a91a68 100644
--- a/usr.bin/ssh/clientloop.c
+++ b/usr.bin/ssh/clientloop.c
@@ -59,7 +59,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: clientloop.c,v 1.124 2004/06/14 01:44:38 djm Exp $");
+RCSID("$OpenBSD: clientloop.c,v 1.125 2004/06/15 05:45:04 djm Exp $");
#include "ssh.h"
#include "ssh1.h"
@@ -156,7 +156,7 @@ static void
leave_non_blocking(void)
{
if (in_non_blocking_mode) {
- (void) fcntl(fileno(stdin), F_SETFL, 0);
+ unset_nonblock(fileno(stdin));
in_non_blocking_mode = 0;
}
}