diff options
author | Brian Cully <bjc@junctionnetworks.com> | 2009-12-21 17:03:47 +0000 |
---|---|---|
committer | Brian Cully <bjc@junctionnetworks.com> | 2009-12-21 17:03:47 +0000 |
commit | f6f447b4215f34bc46e57159058b20b53efe5de0 (patch) | |
tree | a45e24f7d66f53262cea49fbf0d119494bec09ad /net/dns.lua | |
parent | 348b2532e33c295ca790e2e49d61eb1a3beeaec8 (diff) | |
download | prosody-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.lua | 2 |
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] |