aboutsummaryrefslogtreecommitdiffstats
path: root/net/dns.lua
diff options
context:
space:
mode:
authorBrian Cully <bjc@junctionnetworks.com>2009-12-21 17:03:47 +0000
committerBrian Cully <bjc@junctionnetworks.com>2009-12-21 17:03:47 +0000
commitf6f447b4215f34bc46e57159058b20b53efe5de0 (patch)
treea45e24f7d66f53262cea49fbf0d119494bec09ad /net/dns.lua
parent348b2532e33c295ca790e2e49d61eb1a3beeaec8 (diff)
downloadprosody-f6f447b4215f34bc46e57159058b20b53efe5de0.tar.gz
prosody-f6f447b4215f34bc46e57159058b20b53efe5de0.zip
net.dns: Update synchronous path for new connection API
Diffstat (limited to 'net/dns.lua')
-rw-r--r--net/dns.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dns.lua b/net/dns.lua
index 08bc53a9..8f943793 100644
--- a/net/dns.lua
+++ b/net/dns.lua
@@ -723,7 +723,7 @@ function resolver:receive(rset) -- - - - - - - - - - - - - - - - - receive
for i,sock in pairs(rset) do
if self.socketset[sock] then
- local packet = sock:receive();
+ local packet = sock.receive();
if packet then
response = self:decode(packet);
if response and self.active[response.header.id]