# HG changeset patch # User Matthew Wild # Date 1279117934 -3600 # Node ID 6c07b64e972cc9d33bc42631ee08b8815f4732e0 # Parent 69442c83602e1a56193f3ee2f271c184283c3e50 net.dns: Call :cancel() on the current resolver instead of the prototype diff -r 69442c83602e -r 6c07b64e972c net/dns.lua --- a/net/dns.lua Wed Jul 14 01:36:08 2010 +0100 +++ b/net/dns.lua Wed Jul 14 15:32:14 2010 +0100 @@ -699,7 +699,7 @@ return self.timeout; else -- Tried everything, failed - resolver:cancel(qclass, qtype, qname, co, true); + self:cancel(qclass, qtype, qname, co, true); end end end)