Add log message when DNS lookup is cancelled
authorMatthew Wild <mwild1@gmail.com>
Thu, 28 May 2009 02:17:19 +0100
changeset 1208 5f992ddc9685
parent 1207 6842bacddfcb
child 1209 86b01a837126
Add log message when DNS lookup is cancelled
net/adns.lua
--- a/net/adns.lua	Thu May 28 02:16:43 2009 +0100
+++ b/net/adns.lua	Thu May 28 02:17:19 2009 +0100
@@ -26,6 +26,7 @@
 end
 
 function cancel(handle, call_handler)
+	log("warn", "Cancelling DNS lookup for %s", tostring(handle[3]));
 	dns.cancel(handle);
 	if call_handler then
 		coroutine.resume(handle[4]);