Changeset

3360:6c07b64e972c

net.dns: Call :cancel() on the current resolver instead of the prototype
author Matthew Wild <mwild1@gmail.com>
date Wed, 14 Jul 2010 15:32:14 +0100
parents 3359:69442c83602e
children 3361:8d4e7c231d3e
files net/dns.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)