commit 3c93674: [Minor] Restore debug for now
Vsevolod Stakhov
vsevolod at highsecure.ru
Mon Jan 6 17:14:06 UTC 2020
Author: Vsevolod Stakhov
Date: 2020-01-06 16:14:33 +0000
URL: https://github.com/rspamd/rspamd/commit/3c93674c8f16c580800e26097ff20e55c0917ffc
[Minor] Restore debug for now
---
lualib/lua_content/pdf.lua | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lualib/lua_content/pdf.lua b/lualib/lua_content/pdf.lua
index 2bc9e5ce5..628d37a85 100644
--- a/lualib/lua_content/pdf.lua
+++ b/lualib/lua_content/pdf.lua
@@ -590,8 +590,8 @@ local function search_text(task, pdf)
end
bl.data = obj.uncompressed:span(bl.start, bl.len)
- --lua_util.debugm(N, task, 'extracted text from object %s:%s: %s',
- -- obj.major, obj.minor, bl.data)
+ lua_util.debugm(N, task, 'extracted text from object %s:%s: %s',
+ obj.major, obj.minor, bl.data)
if bl.len < 10 * 1024 then
local ret,obj_or_err = pcall(pdf_text_grammar.match, pdf_text_grammar,
More information about the Commits
mailing list