diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-02-12 15:02:57 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-02-12 15:02:57 +0000 |
commit | 706c63594e219134ab74b2f8195af32e8bbc534d (patch) | |
tree | 4e124e0508b602c001a1d71104ea5cd53e9bd39e | |
parent | c7a61c42aeb880309b098641f403c746b416fe46 (diff) | |
download | prosody-706c63594e219134ab74b2f8195af32e8bbc534d.tar.gz prosody-706c63594e219134ab74b2f8195af32e8bbc534d.zip |
net.dns: Update for new socket API
-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 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] |