aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2014-06-25 15:33:49 +0200
committerKim Alvefur <zash@zash.se>2014-06-25 15:33:49 +0200
commitc79abd49278fad35330df2aeae2120d76239a43b (patch)
tree0be1e2dd57d6b02717c6a271ec813b5633f1e33d
parentb04b5f7e0c7dff4f992e071b69b008d59916765c (diff)
downloadprosody-c79abd49278fad35330df2aeae2120d76239a43b.tar.gz
prosody-c79abd49278fad35330df2aeae2120d76239a43b.zip
net.adns: Add missing local declaration
-rw-r--r--net/adns.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/adns.lua b/net/adns.lua
index 158747c6..2a3fa8ad 100644
--- a/net/adns.lua
+++ b/net/adns.lua
@@ -52,6 +52,7 @@ function new_async_socket(sock, resolver)
local peername = "<unknown>";
local listener = {};
local handler = {};
+ local err;
function listener.onincoming(conn, data)
if data then
dns.feed(handler, data);