Skip to content
Snippets Groups Projects
Commit fc076876 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Merge branch 'master' of https://github.com/tarantool/tarantool

parents 5e46dd91 c52b8035
No related branches found
No related tags found
No related merge requests found
......@@ -942,9 +942,9 @@ local function tcp_server_remote(list, prepare, handler)
local ok = false
if s ~= nil then
local backlog = prepare(s)
if s:bind(addr.host, addr.port) then
local prepared, backlog = pcall(prepare, s)
if prepared and s:listen(backlog) then
if s:listen(backlog) then
ok = true
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment