aboutsummaryrefslogtreecommitdiffstats
path: root/net/dns.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-02-12 15:02:57 +0000
committerMatthew Wild <mwild1@gmail.com>2010-02-12 15:02:57 +0000
commit706c63594e219134ab74b2f8195af32e8bbc534d (patch)
tree4e124e0508b602c001a1d71104ea5cd53e9bd39e /net/dns.lua
parentc7a61c42aeb880309b098641f403c746b416fe46 (diff)
downloadprosody-706c63594e219134ab74b2f8195af32e8bbc534d.tar.gz
prosody-706c63594e219134ab74b2f8195af32e8bbc534d.zip
net.dns: Update for new socket 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 10ac50a4..9cd378b2 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]