aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-04-30 15:09:26 -0700
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-04-30 15:09:26 -0700
commite7507e024d6c168aa43543f3a064c19c64d3f55b (patch)
tree971326eb12c11049d9163716e34ec71f55a7985b /src/libserver
parent8fafe7395acaff58e95255e82901eab7b195c8a7 (diff)
downloadrspamd-e7507e024d6c168aa43543f3a064c19c64d3f55b.tar.gz
rspamd-e7507e024d6c168aa43543f3a064c19c64d3f55b.zip
Fix issues with scanning messages via controller.
Diffstat (limited to 'src/libserver')
-rw-r--r--src/libserver/task.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/task.c b/src/libserver/task.c
index 04e385479..27ddf63ca 100644
--- a/src/libserver/task.c
+++ b/src/libserver/task.c
@@ -96,6 +96,7 @@ rspamd_task_new (struct rspamd_worker *worker)
new_task->urls);
new_task->sock = -1;
new_task->is_mime = TRUE;
+ new_task->is_json = TRUE;
new_task->pre_result.action = METRIC_ACTION_NOACTION;
new_task->message_id = new_task->queue_id = "undef";