diff options
author | Kim Alvefur <zash@zash.se> | 2018-10-06 18:50:30 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-10-06 18:50:30 +0200 |
commit | 9b2c4b27408cbb45a53ea42fe24588474e4e60b8 (patch) | |
tree | 4968c4c15acb56f24cc88ad60f3c5f4f7ffd9ff2 /net/server_epoll.lua | |
parent | 812670712587569bd08448d94d453f9c31d3c1bc (diff) | |
download | prosody-9b2c4b27408cbb45a53ea42fe24588474e4e60b8.tar.gz prosody-9b2c4b27408cbb45a53ea42fe24588474e4e60b8.zip |
net.server_epoll: Pass error number to logging
Why do we ignore unused secondaries?
Diffstat (limited to 'net/server_epoll.lua')
-rw-r--r-- | net/server_epoll.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua index be77f761..fde007f6 100644 --- a/net/server_epoll.lua +++ b/net/server_epoll.lua @@ -267,7 +267,7 @@ function interface:add(r, w) if w == nil then w = self._wantwrite; end local ok, err, errno = poll:add(fd, r, w); if not ok then - log("error", "Could not register %s: %s(%d)", self, err); + log("error", "Could not register %s: %s(%d)", self, err, errno); return ok, err; end self._wantread, self._wantwrite = r, w; |