aboutsummaryrefslogtreecommitdiffstats
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
commitdbe5e5fc2baf818d01ee8e404f6e764e2db98080 (patch)
tree4c2239970a220e199e6fa93de928b04c22d154a8
parent73f5f90003e011e3da0836a596ba5534469adef5 (diff)
downloadprosody-dbe5e5fc2baf818d01ee8e404f6e764e2db98080.tar.gz
prosody-dbe5e5fc2baf818d01ee8e404f6e764e2db98080.zip
net.dns: Fix dns.lookup from commit e54774bd73a7
-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