summaryrefslogtreecommitdiff
path: root/ssh-agent.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-agent.c')
-rw-r--r--ssh-agent.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ssh-agent.c b/ssh-agent.c
index a38322160..ea84f2196 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -35,7 +35,7 @@
35 35
36#include "includes.h" 36#include "includes.h"
37#include "openbsd-compat/sys-queue.h" 37#include "openbsd-compat/sys-queue.h"
38RCSID("$OpenBSD: ssh-agent.c,v 1.118 2004/05/08 00:21:31 djm Exp $"); 38RCSID("$OpenBSD: ssh-agent.c,v 1.119 2004/06/14 01:44:39 djm Exp $");
39 39
40#include <openssl/evp.h> 40#include <openssl/evp.h>
41#include <openssl/md5.h> 41#include <openssl/md5.h>
@@ -789,8 +789,7 @@ new_socket(sock_type type, int fd)
789{ 789{
790 u_int i, old_alloc, new_alloc; 790 u_int i, old_alloc, new_alloc;
791 791
792 if (fcntl(fd, F_SETFL, O_NONBLOCK) < 0) 792 set_nonblock(fd);
793 error("fcntl O_NONBLOCK: %s", strerror(errno));
794 793
795 if (fd > max_fd) 794 if (fd > max_fd)
796 max_fd = fd; 795 max_fd = fd;