aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_scanners/avast.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lualib/lua_scanners/avast.lua')
-rw-r--r--lualib/lua_scanners/avast.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/lualib/lua_scanners/avast.lua b/lualib/lua_scanners/avast.lua
index 5c54f8c40..7e778979a 100644
--- a/lualib/lua_scanners/avast.lua
+++ b/lualib/lua_scanners/avast.lua
@@ -189,7 +189,7 @@ local function avast_check(task, content, digest, rule, maybe_part)
-- Define callbacks
- avast_helo_cb = function (merr, mdata, conn)
+ avast_helo_cb = function(merr, mdata, conn)
-- Called when we have established a connection but not read anything
tcp_conn = conn
@@ -204,7 +204,6 @@ local function avast_check(task, content, digest, rule, maybe_part)
end
end
-
avast_scan_cb = function(merr)
-- Called when we have send request to avast and are waiting for reply
if no_connection_error(merr) then