diff --git a/libclamav/htmlnorm.c b/libclamav/htmlnorm.c
index 4c1ef93a04..edd1bc00d7 100644
--- a/libclamav/htmlnorm.c
+++ b/libclamav/htmlnorm.c
@@ -1194,7 +1194,7 @@ static bool cli_html_normalise(cli_ctx *ctx, int fd, m_area_t *m_area, const cha
style_end = ptr - strlen("");
if (style_end < style_begin) {
- cli_errmsg("cli_html_normalise: style chunk size underflow\n");
+ cli_dbgmsg("cli_html_normalise: style chunk size underflow\n");
goto done;
}
@@ -1830,7 +1830,7 @@ static bool cli_html_normalise(cli_ctx *ctx, int fd, m_area_t *m_area, const cha
if (in_tag == TAG_STYLE) {
if (ptr < style_begin) {
- cli_errmsg("cli_html_normalise: style chunk size underflow\n");
+ cli_dbgmsg("cli_html_normalise: style chunk size underflow\n");
goto done;
}
@@ -1882,7 +1882,7 @@ static bool cli_html_normalise(cli_ctx *ctx, int fd, m_area_t *m_area, const cha
}
if (style_buff != NULL) {
- // Found contents of block.
+ // Found contents of block.
// Search it for images embedded in the CSS.
cl_error_t ret = html_style_block_handler(ctx, (const char *)style_buff);
if (CL_SUCCESS != ret) {