From 4c9e8bbba77c0575cdc28d8eb2a1bb4ff61d3e4f Mon Sep 17 00:00:00 2001 From: Kevin Lin Date: Thu, 12 Mar 2015 14:29:47 -0400 Subject: [PATCH] added newlines for lack of libxml2 support --- libclamav/msxml.c | 6 +++--- libclamav/ooxml.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libclamav/msxml.c b/libclamav/msxml.c index bce54dd13..76fe628b1 100644 --- a/libclamav/msxml.c +++ b/libclamav/msxml.c @@ -48,8 +48,8 @@ #define cli_msxmlmsg(...) #endif -#define MSXML_RECLEVEL 16 -#define MSXML_RECLEVEL_MAX 5 +//#define MSXML_RECLEVEL 16 +#define MSXML_RECLEVEL_MAX 20 #define MSXML_JSON_STRLEN_MAX 100 #define MSXML_READBUFF SCANBUFF @@ -417,7 +417,7 @@ int cli_scanmsxml(cli_ctx *ctx) #else UNUSEDPARAM(ctx); cli_dbgmsg("in cli_scanmsxml()\n"); - cli_dbgmsg("cli_scanmsxml: scanning msxml documents requires libxml2!"); + cli_dbgmsg("cli_scanmsxml: scanning msxml documents requires libxml2!\n"); return CL_SUCCESS; #endif diff --git a/libclamav/ooxml.c b/libclamav/ooxml.c index c262d3aaa..b8adcdb9a 100644 --- a/libclamav/ooxml.c +++ b/libclamav/ooxml.c @@ -729,10 +729,10 @@ int cli_process_ooxml(cli_ctx *ctx) UNUSEDPARAM(ctx); cli_dbgmsg("in cli_process_ooxml\n"); #if !HAVE_LIBXML2 - cli_dbgmsg("cli_process_ooxml: libxml2 needs to enabled!"); + cli_dbgmsg("cli_process_ooxml: libxml2 needs to enabled!\n"); #endif #if !HAVE_JSON - cli_dbgmsg("cli_process_ooxml: libjson needs to enabled!"); + cli_dbgmsg("cli_process_ooxml: libjson needs to enabled!\n"); #endif return CL_SUCCESS; #endif