changeset 6453:5364bdaa404d

mod_sasl2_fast/mod_sasl2_fast.lua: fix luacheck warning too long line
author Menel <menel@snikket.de>
date Fri, 13 Mar 2026 07:54:36 +0100
parents d2f3a1ff1438
children 4403f941fd74
files mod_sasl2_fast/mod_sasl2_fast.lua
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_sasl2_fast/mod_sasl2_fast.lua	Fri Mar 13 07:46:57 2026 +0100
+++ b/mod_sasl2_fast/mod_sasl2_fast.lua	Fri Mar 13 07:54:36 2026 +0100
@@ -213,7 +213,8 @@
 		local cb_data;
 		if cb_name then
 			if not sasl_handler.profile.cb then
-				module:log("warn", "Attempt to use channel binding %s with SASL profile that does not support any channel binding (FAST: %s)", cb_name, sasl_handler.fast);
+				local msg = "Attempt to use channel binding %s with SASL profile that does not support any channel binding (FAST: %s)"
+				module:log("warn", msg, cb_name, sasl_handler.fast)
 				return "failure", "malformed-request";
 			elseif not sasl_handler.profile.cb[cb_name] then
 				module:log("warn", "SASL profile does not support %s channel binding (FAST: %s)", cb_name, sasl_handler.fast);