net.dns: Update for new socket API

Fri, 12 Feb 2010 15:02:57 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Fri, 12 Feb 2010 15:02:57 +0000
changeset 2619
04158baefa34
parent 2618
b8f6aa70d019
child 2620
481c6724818f

net.dns: Update for new socket API

net/dns.lua file | annotate | diff | comparison | revisions
--- a/net/dns.lua	Fri Feb 12 12:47:23 2010 +0000
+++ b/net/dns.lua	Fri Feb 12 15:02:57 2010 +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