Software /
code /
prosody
Changeset
2387:92264ee3a0e4
net.dns: Update synchronous path for new connection API
author | Brian Cully <bjc@junctionnetworks.com> |
---|---|
date | Mon, 21 Dec 2009 17:03:47 +0000 |
parents | 2386:bfb093a0df1e |
children | 2388:4768879d3591 |
files | net/dns.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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]