Software /
code /
prosody
Comparison
net/dns.lua @ 2278:8c10f13c0c20
modulemanager, net.dns: Remove trailing whitespace
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 02 Dec 2009 20:32:44 +0000 |
parent | 2082:1381b2071c2e |
child | 2300:e182b5029ef2 |
comparison
equal
deleted
inserted
replaced
2277:c5d3905c98a6 | 2278:8c10f13c0c20 |
---|---|
724 | 724 |
725 if self.socketset[sock] then | 725 if self.socketset[sock] then |
726 local packet = sock:receive(); | 726 local packet = sock:receive(); |
727 if packet then | 727 if packet then |
728 response = self:decode(packet); | 728 response = self:decode(packet); |
729 if response and self.active[response.header.id] | 729 if response and self.active[response.header.id] |
730 and self.active[response.header.id][response.question.raw] then | 730 and self.active[response.header.id][response.question.raw] then |
731 --print('received response'); | 731 --print('received response'); |
732 --self.print(response); | 732 --self.print(response); |
733 | 733 |
734 for j,rr in pairs(response.answer) do | 734 for j,rr in pairs(response.answer) do |