Socket.accept should have returned [fd, addr]; fix #3999

This commit is contained in:
Yukihiro "Matz" Matsumoto
2018-04-17 17:20:22 +09:00
parent 0e76faed8c
commit 4880f6dc89
+1 -1
View File
@@ -463,7 +463,7 @@ class Socket < BasicSocket
end
def sysaccept
Socket._accept(self.fileno)[0]
Socket._accept(self.fileno)
end
end