aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_content
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-01-06 16:14:33 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-01-06 16:14:33 +0000
commit3c93674c8f16c580800e26097ff20e55c0917ffc (patch)
treed39fec178fadfcd8de9956908d396b6b87aac6eb /lualib/lua_content
parent8a3312ad64950aab2b494754e32ae974cccf8fa4 (diff)
downloadrspamd-3c93674c8f16c580800e26097ff20e55c0917ffc.tar.gz
rspamd-3c93674c8f16c580800e26097ff20e55c0917ffc.zip
[Minor] Restore debug for now
Diffstat (limited to 'lualib/lua_content')
-rw-r--r--lualib/lua_content/pdf.lua4
1 files 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,