aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/dns.lua2
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)