net.dns: Update synchronous path for new connection API

Mon, 21 Dec 2009 17:03:47 +0000

author
Brian Cully <bjc@junctionnetworks.com>
date
Mon, 21 Dec 2009 17:03:47 +0000
changeset 2387
92264ee3a0e4
parent 2386
bfb093a0df1e
child 2388
4768879d3591

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]

mercurial