aboutsummaryrefslogtreecommitdiffstats
path: root/src/worker_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/worker_util.c')
-rw-r--r--src/worker_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker_util.c b/src/worker_util.c
index 3da6a26a5..c21de269e 100644
--- a/src/worker_util.c
+++ b/src/worker_util.c
@@ -51,7 +51,7 @@ construct_task (struct rspamd_worker *worker)
new_task = g_slice_alloc0 (sizeof (struct worker_task));
new_task->worker = worker;
- new_task->state = READ_COMMAND;
+ new_task->state = READ_MESSAGE;
if (worker) {
new_task->cfg = worker->srv->cfg;
}