Mon, 21 Dec 2009 17:03:47 +0000
net.dns: Update synchronous path for new connection API
net/dns.lua | file | annotate | diff | comparison | revisions |
--- a/net/dns.lua Mon Dec 21 16:52:12 2009 +0000 +++ b/net/dns.lua Mon Dec 21 17:03:47 2009 +0000 @@ -723,7 +723,7 @@ for i,sock in pairs(rset) do if self.socketset[sock] then - local packet = sock:receive(); + local packet = sock.receive(); if packet then response = self:decode(packet); if response and self.active[response.header.id]