summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-11-17 04:41:19 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-11-17 04:41:19 +0000
commit21efb309e7bd3985647d806b1ef7969c16afba02 (patch)
tree371de1c897ff6129461e048a07f95462a3d8cd2e /ext
parent46608d361a199ee96ce71043d03d5e2dbed3cf66 (diff)
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-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 e664090..e77e3d6 100644
--- a/ext/socket/socket.c
+++ b/ext/socket/socket.c
@@ -769,7 +769,6 @@ ruby_connect(fd, sockaddr, len, socks)
}
}
#ifdef HAVE_FCNTL
- mode &= ~NONBLOCKING; /* needed? */
fcntl(fd, F_SETFL, mode);
#endif
return status;