net/adns.lua

changeset 1207
6842bacddfcb
parent 1203
23725bfdeed5
child 1208
5f992ddc9685
--- a/net/adns.lua	Wed May 27 14:03:12 2009 +0100
+++ b/net/adns.lua	Thu May 28 02:16:43 2009 +0100
@@ -28,7 +28,7 @@
 function cancel(handle, call_handler)
 	dns.cancel(handle);
 	if call_handler then
-		handle[4]()
+		coroutine.resume(handle[4]);
 	end
 end
 

mercurial