diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-05-28 02:16:43 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-05-28 02:16:43 +0100 |
commit | a5333a75d9a52ff77aee2a93f45c3a17c4469407 (patch) | |
tree | a9939d68002120f84b5a462d7634736b6479652c | |
parent | 1a1358157d7a45ca710f700c64b80b2389a49e39 (diff) | |
download | prosody-a5333a75d9a52ff77aee2a93f45c3a17c4469407.tar.gz prosody-a5333a75d9a52ff77aee2a93f45c3a17c4469407.zip |
net.adns: Fix for calling handler when cancelling DNS lookup
-rw-r--r-- | net/adns.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/adns.lua b/net/adns.lua index 6062da73..45fe74f0 100644 --- a/net/adns.lua +++ b/net/adns.lua @@ -28,7 +28,7 @@ end function cancel(handle, call_handler) dns.cancel(handle); if call_handler then - handle[4]() + coroutine.resume(handle[4]); end end |