aboutsummaryrefslogtreecommitdiffstats
path: root/net/dns.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-05-20 10:45:29 +0100
committerMatthew Wild <mwild1@gmail.com>2010-05-20 10:45:29 +0100
commit1107a66e72024f464c5d82296b83e07293fb6aba (patch)
tree570e4699a26e024024930fa1314cde137438b28a /net/dns.lua
parent5c7c2e522d9683eef84b03d40209361f4171b39c (diff)
downloadprosody-1107a66e72024f464c5d82296b83e07293fb6aba.tar.gz
prosody-1107a66e72024f464c5d82296b83e07293fb6aba.zip
net.dns: Fix dns.lookup from commit e54774bd73a7
Diffstat (limited to 'net/dns.lua')
-rw-r--r--net/dns.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dns.lua b/net/dns.lua
index 020a0ae8..24bc128f 100644
--- a/net/dns.lua
+++ b/net/dns.lua
@@ -855,7 +855,7 @@ function resolver:lookup(qname, qtype, qclass) -- - - - - - - - - - lookup
local recvt = {}
local i, s
for i, s in ipairs(self.socket) do
- recvt[i] = s.socket()
+ recvt[i] = s
end
socket.select(recvt, nil, 4)
end