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
commitca8f685253b29e92d052d8c05d0398f02fccc318 (patch)
tree0be1e2dd57d6b02717c6a271ec813b5633f1e33d /net/adns.lua
parentcec57902419e17aaa183bc0a248709c6037f5373 (diff)
downloadprosody-ca8f685253b29e92d052d8c05d0398f02fccc318.tar.gz
prosody-ca8f685253b29e92d052d8c05d0398f02fccc318.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);