diff options
author | Kim Alvefur <zash@zash.se> | 2016-08-10 21:11:09 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-08-10 21:11:09 +0200 |
commit | e21d18c2b540f28efc3af81121cecc2f94ffce7a (patch) | |
tree | 39294636bc4edb36a6f51d9dc792f8af202f8a2b /net | |
parent | f111485769022f472230f669aba56e20dbf8d247 (diff) | |
download | prosody-e21d18c2b540f28efc3af81121cecc2f94ffce7a.tar.gz prosody-e21d18c2b540f28efc3af81121cecc2f94ffce7a.zip |
net.server_epoll: Make addclient conform to API (expected by net.http.request)
Diffstat (limited to 'net')
-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 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) |