aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_scanners/virustotal.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lualib/lua_scanners/virustotal.lua')
-rw-r--r--lualib/lua_scanners/virustotal.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lualib/lua_scanners/virustotal.lua b/lualib/lua_scanners/virustotal.lua
index 8e27b3f48..8775100ba 100644
--- a/lualib/lua_scanners/virustotal.lua
+++ b/lualib/lua_scanners/virustotal.lua
@@ -108,7 +108,7 @@ local function virustotal_check(task, content, digest, rule)
rule.log_prefix, hash)
else
lua_util.debugm(rule.name, task, '%s: hash %s clean (not found)',
- rule.log_prefix)
+ rule.log_prefix, hash)
end
elseif code == 204 then
-- Request rate limit exceeded
@@ -139,7 +139,7 @@ local function virustotal_check(task, content, digest, rule)
rule.log_prefix, hash)
else
lua_util.debugm(rule.name, task, '%s: hash %s clean (not found)',
- rule.log_prefix)
+ rule.log_prefix, hash)
end
else
rspamd_logger.errx(task, 'invalid JSON reply: %s, body: %s, headers: %s',