net.dns: Fix dns.lookup from commit e54774bd73a7

Thu, 20 May 2010 10:45:29 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Thu, 20 May 2010 10:45:29 +0100
changeset 3058
c425c5b45186
parent 3054
05b45b1281aa
child 3059
21f7a216d955

net.dns: Fix dns.lookup from commit e54774bd73a7

net/dns.lua file | annotate | diff | comparison | revisions
--- a/net/dns.lua	Thu May 20 09:40:33 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

mercurial