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

parent 0e76faed
...@@ -463,7 +463,7 @@ class Socket < BasicSocket ...@@ -463,7 +463,7 @@ class Socket < BasicSocket
end end
def sysaccept def sysaccept
Socket._accept(self.fileno)[0] Socket._accept(self.fileno)
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment