diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-10-25 17:08:52 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-10-25 17:08:52 +0100 |
commit | 880883e61a237dd8c7bcfa5bb382c938bb1256f6 (patch) | |
tree | 8f38a013d37f3186674520b1ebc75c0d1f4dc5f6 /lualib/lua_redis.lua | |
parent | e55b2d55dd4beffc4aa9a935da419b51bab3dbbe (diff) | |
download | rspamd-880883e61a237dd8c7bcfa5bb382c938bb1256f6.tar.gz rspamd-880883e61a237dd8c7bcfa5bb382c938bb1256f6.zip |
[Minor] Fix lua warnings
Diffstat (limited to 'lualib/lua_redis.lua')
-rw-r--r-- | lualib/lua_redis.lua | 6 |
1 files 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') |