commit 24f85d1: [Minor] Fix broken tests suite
Vsevolod Stakhov
vsevolod at highsecure.ru
Fri Mar 26 21:07:23 UTC 2021
Author: Vsevolod Stakhov
Date: 2021-03-26 21:04:02 +0000
URL: https://github.com/rspamd/rspamd/commit/24f85d1c0620e256178651633850e49b58dec601 (HEAD -> master)
[Minor] Fix broken tests suite
---
src/libmime/message.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libmime/message.c b/src/libmime/message.c
index 9713a6bf5..6f39cc947 100644
--- a/src/libmime/message.c
+++ b/src/libmime/message.c
@@ -770,7 +770,7 @@ rspamd_message_process_html_text_part (struct rspamd_task *task,
&text_part->exceptions,
MESSAGE_FIELD (task, urls),
text_part->mime_part->urls,
- task->cfg->enable_css_parser);
+ task->cfg ? task->cfg->enable_css_parser : false);
if (text_part->utf_content->len == 0) {
text_part->flags |= RSPAMD_MIME_TEXT_PART_FLAG_EMPTY;
More information about the Commits
mailing list