summaryrefslogtreecommitdiffstats
path: root/clientloop.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2004-06-15 15:47:51 +1000
committerDamien Miller <djm@mindrot.org>2004-06-15 15:47:51 +1000
commit03e66f650c63cac36adf26ba49500320d9d24b86 (patch)
tree127f22bbe4533e0b698e5ebb8cea5034def363fd /clientloop.c
parent51cee0892f464e13fb88672a5555e29ef65452bc (diff)
- djm@cvs.openbsd.org 2004/06/15 05:45:04
[clientloop.c] missed one unset_nonblock; spotted by Tim Rice
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 eada5603..6b849a91 100644
--- a/clientloop.c
+++ b/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;
}
}