From dbe5e5fc2baf818d01ee8e404f6e764e2db98080 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 20 May 2010 10:45:29 +0100 Subject: net.dns: Fix dns.lookup from commit e54774bd73a7 --- net/dns.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net') 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 -- cgit v1.2.3