mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +00:00
bugfix: stdin is 0
This commit is contained in:
@@ -151,7 +151,7 @@ function socket.bind(os_fd)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function socket.stdin()
|
function socket.stdin()
|
||||||
return socket.bind(1)
|
return socket.bind(0)
|
||||||
end
|
end
|
||||||
|
|
||||||
function socket.start(id, func)
|
function socket.start(id, func)
|
||||||
|
|||||||
Reference in New Issue
Block a user