]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Restore debug for now
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 6 Jan 2020 16:14:33 +0000 (16:14 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 6 Jan 2020 16:14:33 +0000 (16:14 +0000)
lualib/lua_content/pdf.lua

index 2bc9e5ce5e4e4540a0a655d95c89b607cd0c0d10..628d37a85522fc211757b0788dbf1842fd79df68 100644 (file)
@@ -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,