# HG changeset patch # User Matthew Wild # Date 1274348729 -3600 # Node ID c585678b3ecb3bc97847c95a1cfc7a3633ecc83a # Parent 6405d899764ecc2cf7fde0117c954fefac17f03d net.dns: Fix dns.lookup from commit e54774bd73a7 diff -r 6405d899764e -r c585678b3ecb net/dns.lua --- a/net/dns.lua Thu May 20 09:41:27 2010 +0100 +++ b/net/dns.lua Thu May 20 10:45:29 2010 +0100 @@ -855,7 +855,7 @@ 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