aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-08-10 21:11:09 +0200
committerKim Alvefur <zash@zash.se>2016-08-10 21:11:09 +0200
commit6d0852cbc20ec45adcc34cafd0a9f1b16fd47763 (patch)
tree39294636bc4edb36a6f51d9dc792f8af202f8a2b /net
parentc2d5f9a1fa51b8e08f4f77c08128374ed4262ba3 (diff)
downloadprosody-6d0852cbc20ec45adcc34cafd0a9f1b16fd47763.tar.gz
prosody-6d0852cbc20ec45adcc34cafd0a9f1b16fd47763.zip
net.server_epoll: Make addclient conform to API (expected by net.http.request)
Diffstat (limited to 'net')
-rw-r--r--net/server_epoll.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index f191a74e..8880c793 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -473,7 +473,7 @@ local function addclient(addr, port, listeners, pattern, tls)
else
client:setflags(true, true);
end
- return client;
+ return client, conn;
end
local function link(from, to)