summaryrefslogtreecommitdiff
path: root/ext/socket/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/socket/socket.c')
-rw-r--r--ext/socket/socket.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/socket/socket.c b/ext/socket/socket.c
index c9df07c279..b815c3f935 100644
--- a/ext/socket/socket.c
+++ b/ext/socket/socket.c
@@ -768,7 +768,6 @@ ruby_connect(fd, sockaddr, len, socks)
}
}
#ifdef HAVE_FCNTL
- mode &= ~NONBLOCKING;
fcntl(fd, F_SETFL, mode);
#endif
return status;