diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-09-30 05:11:30 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-09-30 05:11:30 +0000 |
commit | 7842c7f5dbdb242d9ec9b6f213d8b39a73c8f8ce (patch) | |
tree | d04dcb5313f5136e2dc4e0b702f49654f50d6a99 /usr.bin/ssh/ssh-agent.c | |
parent | 3014b4f4317c10906498b5d1573b5b12a772c488 (diff) |
do not bother with dinosaur pacification
Diffstat (limited to 'usr.bin/ssh/ssh-agent.c')
-rw-r--r-- | usr.bin/ssh/ssh-agent.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.bin/ssh/ssh-agent.c b/usr.bin/ssh/ssh-agent.c index 3c949eeb127..5ad08bbb75b 100644 --- a/usr.bin/ssh/ssh-agent.c +++ b/usr.bin/ssh/ssh-agent.c @@ -14,7 +14,7 @@ The authentication agent program. */ #include "includes.h" -RCSID("$Id: ssh-agent.c,v 1.4 1999/09/29 21:14:16 deraadt Exp $"); +RCSID("$Id: ssh-agent.c,v 1.5 1999/09/30 05:11:29 deraadt Exp $"); #include "ssh.h" #include "rsa.h" @@ -347,13 +347,8 @@ void new_socket(int type, int fd) { unsigned int i, old_alloc; -#if defined(O_NONBLOCK) && !defined(O_NONBLOCK_BROKEN) if (fcntl(fd, F_SETFL, O_NONBLOCK) < 0) error("fcntl O_NONBLOCK: %s", strerror(errno)); -#else /* O_NONBLOCK && !O_NONBLOCK_BROKEN */ - if (fcntl(fd, F_SETFL, O_NDELAY) < 0) - error("fcntl O_NDELAY: %s", strerror(errno)); -#endif /* O_NONBLOCK && !O_NONBLOCK_BROKEN */ if (fd > max_fd) max_fd = fd; |