From 880883e61a237dd8c7bcfa5bb382c938bb1256f6 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 25 Oct 2018 17:08:52 +0100 Subject: [PATCH] [Minor] Fix lua warnings --- lualib/lua_redis.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lualib/lua_redis.lua b/lualib/lua_redis.lua index d66cfb903..ef19bdeb4 100644 --- a/lualib/lua_redis.lua +++ b/lualib/lua_redis.lua @@ -627,7 +627,7 @@ local function rspamd_redis_make_request(task, redis_params, key, is_write, lutil.debugm(N, task, 'perform request to redis server' .. ' (host=%s, timeout=%s): cmd: %s, arguments: %s', ip_addr, - options.timeout, cmd, args) + options.timeout, options.cmd, args) local ret,conn = rspamd_redis.make_request(options) @@ -715,8 +715,8 @@ local function redis_make_request_taskless(ev_base, cfg, redis_params, key, end lutil.debugm(N, config, 'perform taskless request to redis server' .. - ' (host=%s, timeout=%s): cmd: %s, arguments: %s', ip_addr, - options.timeout, cmd, args) + ' (host=%s, timeout=%s): cmd: %s, arguments: %s', options.host, + options.timeout, options.cmd, args) local ret,conn = rspamd_redis.make_request(options) if not ret then logger.errx('cannot execute redis request') -- 2.39.5