summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-11-16 16:56:59 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-11-16 16:56:59 +0000
commit46608d361a199ee96ce71043d03d5e2dbed3cf66 (patch)
tree618613d37376e21376cc974473ad1830442ebfad /ext
parent0d11c322d107ccb3e53d5a429c89fc954c561a93 (diff)
001117
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/socket/socket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/socket/socket.c b/ext/socket/socket.c
index e77e3d6..e664090 100644
--- a/ext/socket/socket.c
+++ b/ext/socket/socket.c
@@ -769,6 +769,7 @@ ruby_connect(fd, sockaddr, len, socks)
}
}
#ifdef HAVE_FCNTL
+ mode &= ~NONBLOCKING; /* needed? */
fcntl(fd, F_SETFL, mode);
#endif
return status;