From a201db970b44ac05204b19aa1c3fa973ea6e2e2a Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 5 Mar 2010 18:33:28 +0000 Subject: net.dns: Trailing whitespace --- net/dns.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net') 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 -- cgit v1.2.3