mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +00:00
bugfix #53
This commit is contained in:
@@ -201,13 +201,17 @@ local function read_exec(fd)
|
|||||||
for i = 1,n do
|
for i = 1,n do
|
||||||
local ok, r = read_response(fd)
|
local ok, r = read_response(fd)
|
||||||
result[i] = r
|
result[i] = r
|
||||||
if not err then
|
if err then
|
||||||
err = {}
|
err[i] = ok
|
||||||
for j = 1, i-1 do
|
else
|
||||||
err[j] = true
|
if ok == false then
|
||||||
|
err = {}
|
||||||
|
for j = 1, i-1 do
|
||||||
|
err[j] = true
|
||||||
|
end
|
||||||
|
err[i] = false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
err[i] = ok
|
|
||||||
end
|
end
|
||||||
return result, err
|
return result, err
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user