From: Vsevolod Stakhov Date: Thu, 25 Oct 2018 16:08:52 +0000 (+0100) Subject: [Minor] Fix lua warnings X-Git-Tag: 1.8.2~135 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=880883e61a237dd8c7bcfa5bb382c938bb1256f6;p=thirdparty%2Frspamd.git [Minor] Fix lua warnings --- diff --git a/lualib/lua_redis.lua b/lualib/lua_redis.lua index d66cfb903c..ef19bdeb48 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')