diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-07-14 15:32:14 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-07-14 15:32:14 +0100 |
commit | 1c51f969daf9fc5e258c548073c2600537a66b47 (patch) | |
tree | 235f9b4a00601115f8abe4e2ea798c4d3b7df1f3 /net/dns.lua | |
parent | c63b332ff300b5df997979be4749e30e435ae9d4 (diff) | |
download | prosody-1c51f969daf9fc5e258c548073c2600537a66b47.tar.gz prosody-1c51f969daf9fc5e258c548073c2600537a66b47.zip |
net.dns: Call :cancel() on the current resolver instead of the prototype
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 714d6618..fcc679e3 100644 --- a/net/dns.lua +++ b/net/dns.lua @@ -699,7 +699,7 @@ function resolver:query(qname, qtype, qclass) -- - - - - - - - - - -- query return self.timeout; else -- Tried everything, failed - resolver:cancel(qclass, qtype, qname, co, true); + self:cancel(qclass, qtype, qname, co, true); end end end) |