net/adns.lua
changeset 3326 fb95015bc646
parent 3325 b3117a1da834
child 3956 32ec833c2edf
--- a/net/adns.lua	Mon Jul 05 11:51:17 2010 +0100
+++ b/net/adns.lua	Mon Jul 05 12:05:46 2010 +0100
@@ -38,7 +38,7 @@
 
 function cancel(handle, call_handler, reason)
 	log("warn", "Cancelling DNS lookup for %s", tostring(handle[3]));
-	dns.cancel(handle, call_handler);
+	dns.cancel(handle[1], handle[2], handle[3], handle[4], call_handler);
 end
 
 function new_async_socket(sock, resolver)