Changeset

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
parents 1207:6842bacddfcb
children 1209:86b01a837126
files net/adns.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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]);