diff mod_auth_external/mod_auth_external.lua @ 1343:7dbde05b48a9

all the things: Remove trailing whitespace
author Florian Zeitz <florob@babelmonkeys.de>
date Tue, 11 Mar 2014 18:44:01 +0100
parents f502cbffbdd4
children 199fb0a82c0a
line wrap: on
line diff
--- a/mod_auth_external/mod_auth_external.lua	Mon Mar 10 08:22:58 2014 +0000
+++ b/mod_auth_external/mod_auth_external.lua	Tue Mar 11 18:44:01 2014 +0100
@@ -85,11 +85,11 @@
 
 function do_query(kind, username, password)
 	if not username then return nil, "not-acceptable"; end
-	
+
 	local query = (password and "%s:%s:%s:%s" or "%s:%s:%s"):format(kind, username, host, password);
 	local len = #query
 	if len > 1000 then return nil, "policy-violation"; end
-	
+
 	if script_type == "ejabberd" then
 		local lo = len % 256;
 		local hi = (len - lo) / 256;
@@ -97,7 +97,7 @@
 	elseif script_type == "generic" then
 		query = query..'\n';
 	end
-	
+
 	local response, err = send_query(query);
 	if not response then
 		log("warn", "Error while waiting for result from auth process: %s", err or "unknown error");