aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/message.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-03-26 21:04:02 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-03-26 21:04:02 +0000
commit24f85d1c0620e256178651633850e49b58dec601 (patch)
tree4785694a4bc5c197791712e11e3b491fd08efcf7 /src/libmime/message.c
parent40db5f6260c874c1bc5a2f1d8234310df10990f7 (diff)
downloadrspamd-24f85d1c0620e256178651633850e49b58dec601.tar.gz
rspamd-24f85d1c0620e256178651633850e49b58dec601.zip
[Minor] Fix broken tests suite
Diffstat (limited to 'src/libmime/message.c')
-rw-r--r--src/libmime/message.c2
1 files changed, 1 insertions, 1 deletions
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;