# HG changeset patch # User Brian Cully # Date 1261415027 0 # Node ID 92264ee3a0e450d4e8222a12c5865a8f0ce0f71d # Parent bfb093a0df1e096ef905eada398cef188d8f8ca0 net.dns: Update synchronous path for new connection API diff -r bfb093a0df1e -r 92264ee3a0e4 net/dns.lua --- 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]