Changeset

6671:2d5e2ed44c22

util.sslconfig: Rename variable to avoid name clash [luacheck]
author Matthew Wild <mwild1@gmail.com>
date Wed, 06 May 2015 19:43:28 +0100
parents 6670:5e72f7aadbcc
children 6672:d6a60e74f773
files util/sslconfig.lua
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/util/sslconfig.lua	Wed May 06 19:40:48 2015 +0100
+++ b/util/sslconfig.lua	Wed May 06 19:43:28 2015 +0100
@@ -6,11 +6,11 @@
 function handlers.options(a, k, b)
 	local o = a[k] or { };
 	if type(b) ~= "table" then b = { b } end
-	for k,v in pairs(b) do
-		if v == true or v == false then
-			o[k] = v;
+	for key, value in pairs(b) do
+		if value == true or value == false then
+			o[key] = value;
 		else
-			o[v] = true;
+			o[value] = true;
 		end
 	end
 	a[k] = o;