aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-03-05 18:33:28 +0000
committerMatthew Wild <mwild1@gmail.com>2010-03-05 18:33:28 +0000
commita201db970b44ac05204b19aa1c3fa973ea6e2e2a (patch)
tree5d81c60f7bbe4d18c91d4370344634ebeb8d8e00
parent322f02b17fac1dc673a1250ddbc4a954dec98696 (diff)
downloadprosody-a201db970b44ac05204b19aa1c3fa973ea6e2e2a.tar.gz
prosody-a201db970b44ac05204b19aa1c3fa973ea6e2e2a.zip
net.dns: Trailing whitespace
-rw-r--r--net/dns.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/dns.lua b/net/dns.lua
index 7d1cba8e..8855cc61 100644
--- a/net/dns.lua
+++ b/net/dns.lua
@@ -532,7 +532,7 @@ function resolver:adddefaultnameservers() -- - - - - adddefaultnameservers
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 @@ function resolver:feed(sock, packet)
set(self.wanted, q.class, q.type, q.name, nil);
end
end
- end
+ end
return response;
end