diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-02-18 16:55:13 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-02-18 16:55:13 +0000 |
commit | c7283f8e50304ec0e0efa13a674ebe867f51be07 (patch) | |
tree | 977f1dab5058a0b9ee2e8511a88d719f7da49058 /src/worker_util.c | |
parent | 6cbad30ffbc13f9ce49e8a560f5d0fb27f4557d1 (diff) | |
download | rspamd-c7283f8e50304ec0e0efa13a674ebe867f51be07.tar.gz rspamd-c7283f8e50304ec0e0efa13a674ebe867f51be07.zip |
Fix empty messages processing.
Diffstat (limited to 'src/worker_util.c')
-rw-r--r-- | src/worker_util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/worker_util.c b/src/worker_util.c index 65d69aeaa..f8e1b4b7e 100644 --- a/src/worker_util.c +++ b/src/worker_util.c @@ -99,6 +99,8 @@ construct_task (struct rspamd_worker *worker) new_task->is_mime = TRUE; new_task->pre_result.action = METRIC_ACTION_NOACTION; + new_task->message_id = new_task->queue_id = "undef"; + return new_task; } |