aboutsummaryrefslogtreecommitdiffstats
path: root/utils/mime_tool.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/mime_tool.c')
-rw-r--r--utils/mime_tool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/mime_tool.c b/utils/mime_tool.c
index 34035ab61..7e0e664e8 100644
--- a/utils/mime_tool.c
+++ b/utils/mime_tool.c
@@ -153,7 +153,7 @@ rspamd_process_file (struct rspamd_config *cfg, const gchar *fname, gint mode)
exit (EXIT_FAILURE);
}
- task = rspamd_task_new (NULL, cfg);
+ task = rspamd_task_new (NULL, cfg, NULL);
task->msg.begin = map;
task->msg.len = st.st_size;