aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-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