From 4785d53be1884a7ec18234c421a716ddabdebc24 Mon Sep 17 00:00:00 2001 From: usa Date: Wed, 15 Dec 2004 04:07:53 +0000 Subject: * win32/win32.c (rb_w32_fdisset): rollback previous commit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/win32.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'win32') diff --git a/win32/win32.c b/win32/win32.c index 53f8dc9c25..72ca08f55e 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -1811,10 +1811,7 @@ rb_w32_fdclr(int fd, fd_set *set) int rb_w32_fdisset(int fd, fd_set *set) { - SOCKET s = TO_SOCKET(fd); - if (!is_socket(s)) - return 0; - return __WSAFDIsSet(s, set); + return __WSAFDIsSet(TO_SOCKET(fd), set); } // -- cgit v1.2.3