aboutsummaryrefslogtreecommitdiffstats
path: root/ext/socket
diff options
context:
space:
mode:
Diffstat (limited to 'ext/socket')
-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 14ed6fe963..67573a663a 100644
--- a/ext/socket/socket.c
+++ b/ext/socket/socket.c
@@ -1177,7 +1177,6 @@ ruby_connect(int fd, const struct sockaddr *sockaddr, int len, int socks)
if (socks) func = socks_connect_blocking;
#endif
for (;;) {
- rb_thread_fd_writable(fd);
status = BLOCKING_REGION(func, &arg);
if (status < 0) {
switch (errno) {