Comparison

net/dns.lua @ 3059:21f7a216d955

net.dns: Remove redundant locals declaration
author Matthew Wild <mwild1@gmail.com>
date Thu, 20 May 2010 10:46:08 +0100
parent 3058:c425c5b45186
child 3324:070c8ba71b76
comparison
equal deleted inserted replaced
3058:c425c5b45186 3059:21f7a216d955
851 851
852 function resolver:lookup(qname, qtype, qclass) -- - - - - - - - - - lookup 852 function resolver:lookup(qname, qtype, qclass) -- - - - - - - - - - lookup
853 self:query (qname, qtype, qclass) 853 self:query (qname, qtype, qclass)
854 while self:pulse() do 854 while self:pulse() do
855 local recvt = {} 855 local recvt = {}
856 local i, s
857 for i, s in ipairs(self.socket) do 856 for i, s in ipairs(self.socket) do
858 recvt[i] = s 857 recvt[i] = s
859 end 858 end
860 socket.select(recvt, nil, 4) 859 socket.select(recvt, nil, 4)
861 end 860 end