summaryrefslogtreecommitdiff
path: root/sysdep
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2020-05-13 23:04:19 +0200
committerMikael Magnusson <mikma@users.sourceforge.net>2020-05-13 23:04:19 +0200
commitde6d8a9c415591487a0584a09755330ba505cfbd (patch)
tree30d2f01f7ac9363f0593594dfb79a9caa2bd1e22 /sysdep
parentce8d2560e8265050550f0dcf8119ab056d482b30 (diff)
WIP clear O_NONBLOCK
Diffstat (limited to 'sysdep')
-rw-r--r--sysdep/unix/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c
index f647f228..87269203 100644
--- a/sysdep/unix/io.c
+++ b/sysdep/unix/io.c
@@ -1546,8 +1546,8 @@ sk_connect_unix(sock *s, char *name, socklen_t namelen)
log(L_TRACE "sk_connect_unix 3");
- /* if (fcntl(fd, F_SETFL, O_NONBLOCK) < 0) */
- /* return -3; */
+ if (fcntl(fd, F_SETFL, 0) < 0)
+ return -3;
log(L_TRACE "sk_connect_unix 4");