Skip to content
Snippets Groups Projects
Commit 8d89b641 authored by Dmitry E. Oboukhov's avatar Dmitry E. Oboukhov
Browse files

Merge branch 'stable' of github.com:tarantool/tarantool

Conflicts:
	src/lua/bsdsocket.lua
	test/box/bsdsocket.test
parents c292f483 c15bd138
No related branches found
No related tags found
No related merge requests found
......@@ -925,6 +925,7 @@ end
socket_mt = {
__index = socket_methods,
__tostring = function(self)
local save_errno = self._errno
local name = sprintf("fd %d", self.fh)
local aka = self:name()
if aka ~= nil then
......@@ -934,6 +935,7 @@ socket_mt = {
if peer ~= nil then
name = sprintf("%s, peer %s:%s", name, peer.host, peer.port)
end
self._errno = save_errno
return name
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