aboutsummaryrefslogtreecommitdiffstats
path: root/net/adns.lua
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
commit608509a8b52989f26878fe73620b93049fbd41de (patch)
tree0be1e2dd57d6b02717c6a271ec813b5633f1e33d /net/adns.lua
parent42475293d1b990ce37d872508e1da8accf961cba (diff)
downloadprosody-608509a8b52989f26878fe73620b93049fbd41de.tar.gz
prosody-608509a8b52989f26878fe73620b93049fbd41de.zip
net.adns: Add missing local declaration
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 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);