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
commit4da1f7a763aa920735dfd82af3fcb638a824fe7f (patch)
tree0be1e2dd57d6b02717c6a271ec813b5633f1e33d /net/adns.lua
parentb83f137562de90aa0eda7460eac254c4bfc5f95b (diff)
downloadprosody-4da1f7a763aa920735dfd82af3fcb638a824fe7f.tar.gz
prosody-4da1f7a763aa920735dfd82af3fcb638a824fe7f.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);