Changeset

2278:8c10f13c0c20

modulemanager, net.dns: Remove trailing whitespace
author Matthew Wild <mwild1@gmail.com>
date Wed, 02 Dec 2009 20:32:44 +0000
parents 2277:c5d3905c98a6
children 2294:90e4941ea8b6
files core/modulemanager.lua net/dns.lua
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/core/modulemanager.lua	Wed Dec 02 20:31:54 2009 +0000
+++ b/core/modulemanager.lua	Wed Dec 02 20:32:44 2009 +0000
@@ -175,7 +175,7 @@
 end
 
 function unload(host, name, ...)
-	local mod = get_module(host, name); 
+	local mod = get_module(host, name);
 	if not mod then return nil, "module-not-loaded"; end
 	
 	if module_has_method(mod, "unload") then
@@ -282,7 +282,7 @@
 end
 
 function call_module_method(module, method, ...)
-	if module_has_method(module, method) then	
+	if module_has_method(module, method) then
 		local f = module.module[method];
 		return pcall(f, ...);
 	else
@@ -291,7 +291,7 @@
 end
 
 ----- API functions exposed to modules -----------
--- Must all be in api.* 
+-- Must all be in api.*
 
 -- Returns the name of the current module
 function api:get_name()
--- a/net/dns.lua	Wed Dec 02 20:31:54 2009 +0000
+++ b/net/dns.lua	Wed Dec 02 20:32:44 2009 +0000
@@ -726,7 +726,7 @@
 			local packet = sock:receive();
 			if packet then
 				response = self:decode(packet);
-				if response and self.active[response.header.id] 
+				if response and self.active[response.header.id]
 					and self.active[response.header.id][response.question.raw] then
 					--print('received response');
 					--self.print(response);