From 6150a9ab9ace77cd51db02e6e98b6b44fb18ba88 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Thu, 14 May 2020 01:25:37 +0200 Subject: WIP debug socket --- sysdep/unix/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdep/unix') diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index 87269203..1beb8245 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -1546,7 +1546,7 @@ sk_connect_unix(sock *s, char *name, socklen_t namelen) log(L_TRACE "sk_connect_unix 3"); - if (fcntl(fd, F_SETFL, 0) < 0) + if (fcntl(fd, F_SETFL, O_NONBLOCK) < 0) return -3; log(L_TRACE "sk_connect_unix 4"); -- cgit v1.2.3