summaryrefslogtreecommitdiff
path: root/sysdep/unix/io.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2020-05-14 01:25:37 +0200
committerMikael Magnusson <mikma@users.sourceforge.net>2020-05-14 01:25:37 +0200
commit6150a9ab9ace77cd51db02e6e98b6b44fb18ba88 (patch)
treeae9ff619ddb8edb711fa38de4bc6c3e8b91bd466 /sysdep/unix/io.c
parent10f2279b6761263dd49fa0ffefb494b1eba899c2 (diff)
WIP debug socket
Diffstat (limited to 'sysdep/unix/io.c')
-rw-r--r--sysdep/unix/io.c2
1 files changed, 1 insertions, 1 deletions
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");