aboutsummaryrefslogtreecommitdiffstats
path: root/net/adns.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-05-28 02:17:19 +0100
committerMatthew Wild <mwild1@gmail.com>2009-05-28 02:17:19 +0100
commitc0df6334289a9291e9b43aa5ea0171d80aa1f9e0 (patch)
tree05e9e787fb7e65bfc0e9b0d9f39485afc01ba7cd /net/adns.lua
parenta5333a75d9a52ff77aee2a93f45c3a17c4469407 (diff)
downloadprosody-c0df6334289a9291e9b43aa5ea0171d80aa1f9e0.tar.gz
prosody-c0df6334289a9291e9b43aa5ea0171d80aa1f9e0.zip
Add log message when DNS lookup is cancelled
Diffstat (limited to 'net/adns.lua')
-rw-r--r--net/adns.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/adns.lua b/net/adns.lua
index 45fe74f0..e219ffa7 100644
--- a/net/adns.lua
+++ b/net/adns.lua
@@ -26,6 +26,7 @@ function lookup(handler, qname, qtype, qclass)
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]);