From 1c51f969daf9fc5e258c548073c2600537a66b47 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Wed, 14 Jul 2010 15:32:14 +0100 Subject: net.dns: Call :cancel() on the current resolver instead of the prototype --- net/dns.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net') 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) -- cgit v1.2.3