Diff

net/dns.lua @ 3056:c585678b3ecb

net.dns: Fix dns.lookup from commit e54774bd73a7
author Matthew Wild <mwild1@gmail.com>
date Thu, 20 May 2010 10:45:29 +0100
parent 3049:e54774bd73a7
child 3057:ca1fe9f74bd0
line wrap: on
line diff
--- 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