Software /
code /
prosody
Diff
net/dns.lua @ 2742:6c0a081cd766
net.dns: Trailing whitespace
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 05 Mar 2010 18:33:28 +0000 |
parent | 2741:fcd30b72c50c |
child | 3049:e54774bd73a7 |
line wrap: on
line diff
--- a/net/dns.lua Fri Mar 05 18:15:08 2010 +0000 +++ b/net/dns.lua Fri Mar 05 18:33:28 2010 +0000 @@ -532,7 +532,7 @@ if not self.server or #self.server == 0 then -- TODO log warning about no nameservers, adding opendns servers as fallback self:addnameserver("208.67.222.222"); - self:addnameserver("208.67.220.220") ; + self:addnameserver("208.67.220.220"); end else -- posix local resolv_conf = io.open("/etc/resolv.conf"); @@ -801,7 +801,7 @@ set(self.wanted, q.class, q.type, q.name, nil); end end - end + end return response; end