diff options
author | 1999-09-30 05:11:29 +0000 | |
---|---|---|
committer | 1999-09-30 05:11:29 +0000 | |
commit | c823ec8bf813e088ff7a86b2077f78565d26ea3d (patch) | |
tree | 01868a70418163fa0750febf91e0def8227b5aa3 /usr.bin/ssh/ssh-agent.c | |
parent | cull more ancient garbage from pre-POSIX days (diff) | |
download | wireguard-openbsd-c823ec8bf813e088ff7a86b2077f78565d26ea3d.tar.xz wireguard-openbsd-c823ec8bf813e088ff7a86b2077f78565d26ea3d.zip |
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; |