aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/stat_process.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-27 13:36:58 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-27 13:36:58 +0000
commit8a20f3344a67762fa0b72fa05f4b777170e78471 (patch)
tree427f58f1b7705bcd5d087bca783c5b2ed1bca11e /src/libstat/stat_process.c
parent9e3a4c1020a558ae69183ba64317db0dcc320374 (diff)
downloadrspamd-8a20f3344a67762fa0b72fa05f4b777170e78471.tar.gz
rspamd-8a20f3344a67762fa0b72fa05f4b777170e78471.zip
Runtime for backends now accepts task object.
Diffstat (limited to 'src/libstat/stat_process.c')
-rw-r--r--src/libstat/stat_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstat/stat_process.c b/src/libstat/stat_process.c
index f5a4b9398..164aaee85 100644
--- a/src/libstat/stat_process.c
+++ b/src/libstat/stat_process.c
@@ -213,7 +213,7 @@ rspamd_stat_preprocess (struct rspamd_stat_ctx *st_ctx,
continue;
}
- backend_runtime = bk->runtime (stcf, op != RSPAMD_CLASSIFY_OP,
+ backend_runtime = bk->runtime (task, stcf, op != RSPAMD_CLASSIFY_OP,
bk->ctx);
st_runtime = rspamd_mempool_alloc0 (task->task_pool,