Software /
code /
prosody
Changeset
2619:04158baefa34
net.dns: Update for new socket API
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 12 Feb 2010 15:02:57 +0000 |
parents | 2618:b8f6aa70d019 |
children | 2620:481c6724818f |
files | net/dns.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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]