aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/backends/mmaped_file.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/backends/mmaped_file.c
parent9e3a4c1020a558ae69183ba64317db0dcc320374 (diff)
downloadrspamd-8a20f3344a67762fa0b72fa05f4b777170e78471.tar.gz
rspamd-8a20f3344a67762fa0b72fa05f4b777170e78471.zip
Runtime for backends now accepts task object.
Diffstat (limited to 'src/libstat/backends/mmaped_file.c')
-rw-r--r--src/libstat/backends/mmaped_file.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstat/backends/mmaped_file.c b/src/libstat/backends/mmaped_file.c
index 2eaf6c638..5bb38c521 100644
--- a/src/libstat/backends/mmaped_file.c
+++ b/src/libstat/backends/mmaped_file.c
@@ -852,7 +852,9 @@ rspamd_mmaped_file_init (struct rspamd_stat_ctx *ctx, struct rspamd_config *cfg)
}
gpointer
-rspamd_mmaped_file_runtime (struct rspamd_statfile_config *stcf, gboolean learn,
+rspamd_mmaped_file_runtime (struct rspamd_task *task,
+ struct rspamd_statfile_config *stcf,
+ gboolean learn,
gpointer p)
{
rspamd_mmaped_file_ctx *ctx = (rspamd_mmaped_file_ctx *)p;