summaryrefslogtreecommitdiffstats
path: root/src/worker.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-12-17 19:50:57 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-12-17 19:50:57 +0300
commit064ab092fc07fc0b63bc1463b77ae1183ca3752d (patch)
treeafec050e0358b31eec15095f70451919960fba11 /src/worker.c
parent0bb8eff9b54d2bba798012137bd3785c3277c401 (diff)
downloadrspamd-064ab092fc07fc0b63bc1463b77ae1183ca3752d.tar.gz
rspamd-064ab092fc07fc0b63bc1463b77ae1183ca3752d.zip
Fix bug with mime parser behaviour.
Diffstat (limited to 'src/worker.c')
-rw-r--r--src/worker.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/worker.c b/src/worker.c
index d6112ff9d..ea3cbc832 100644
--- a/src/worker.c
+++ b/src/worker.c
@@ -741,6 +741,7 @@ init_worker (void)
ctx = g_malloc0 (sizeof (struct rspamd_worker_ctx));
+ ctx->is_mime = TRUE;
register_worker_opt (TYPE_WORKER, "mime", xml_handle_boolean, ctx, G_STRUCT_OFFSET (struct rspamd_worker_ctx, is_mime));
return ctx;