Diff

net/adns.lua @ 1208:5f992ddc9685

Add log message when DNS lookup is cancelled
author Matthew Wild <mwild1@gmail.com>
date Thu, 28 May 2009 02:17:19 +0100
parent 1207:6842bacddfcb
child 1522:569d58d21612
line wrap: on
line diff
--- 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]);