From a5333a75d9a52ff77aee2a93f45c3a17c4469407 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 28 May 2009 02:16:43 +0100 Subject: net.adns: Fix for calling handler when cancelling DNS lookup --- net/adns.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/adns.lua') diff --git a/net/adns.lua b/net/adns.lua index 6062da73..45fe74f0 100644 --- a/net/adns.lua +++ b/net/adns.lua @@ -28,7 +28,7 @@ end function cancel(handle, call_handler) dns.cancel(handle); if call_handler then - handle[4]() + coroutine.resume(handle[4]); end end -- cgit v1.2.3