summaryrefslogtreecommitdiff
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
parent51cee0892f464e13fb88672a5555e29ef65452bc (diff)
- djm@cvs.openbsd.org 2004/06/15 05:45:04
[clientloop.c] missed one unset_nonblock; spotted by Tim Rice
-rw-r--r--ChangeLog7
-rw-r--r--clientloop.c4
2 files changed, 7 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 6f5022e02..f28a8ff43 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -32,7 +32,10 @@
32 - djm@cvs.openbsd.org 2004/06/14 01:44:39 32 - djm@cvs.openbsd.org 2004/06/14 01:44:39
33 [channels.c clientloop.c misc.c misc.h packet.c ssh-agent.c ssh-keyscan.c] 33 [channels.c clientloop.c misc.c misc.h packet.c ssh-agent.c ssh-keyscan.c]
34 [sshd.c] 34 [sshd.c]
35 set_nonblock() instead of fcntl(...,O_NONBLOCK); "looks sane" deraadt@ 35 set_nonblock() instead of fnctl(...,O_NONBLOCK); "looks sane" deraadt@
36 - djm@cvs.openbsd.org 2004/06/15 05:45:04
37 [clientloop.c]
38 missed one unset_nonblock; spotted by Tim Rice
36 - (djm) Fix Makefile.in for connection sharing changes 39 - (djm) Fix Makefile.in for connection sharing changes
37 - (djm) [ssh.c] Use separate var for address length 40 - (djm) [ssh.c] Use separate var for address length
38 41
@@ -1219,4 +1222,4 @@
1219 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 1222 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
1220 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 1223 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
1221 1224
1222$Id: ChangeLog,v 1.3386 2004/06/15 04:25:33 tim Exp $ 1225$Id: ChangeLog,v 1.3387 2004/06/15 05:47:51 djm Exp $
diff --git a/clientloop.c b/clientloop.c
index eada56033..6b849a91a 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.124 2004/06/14 01:44:38 djm Exp $"); 62RCSID("$OpenBSD: clientloop.c,v 1.125 2004/06/15 05:45:04 djm Exp $");
63 63
64#include "ssh.h" 64#include "ssh.h"
65#include "ssh1.h" 65#include "ssh1.h"
@@ -156,7 +156,7 @@ static void
156leave_non_blocking(void) 156leave_non_blocking(void)
157{ 157{
158 if (in_non_blocking_mode) { 158 if (in_non_blocking_mode) {
159 (void) fcntl(fileno(stdin), F_SETFL, 0); 159 unset_nonblock(fileno(stdin));
160 in_non_blocking_mode = 0; 160 in_non_blocking_mode = 0;
161 } 161 }
162} 162}