aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/stat_config.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-01-26 16:19:35 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-01-26 16:19:35 +0000
commit353113f99bd8c1bbb4db60bbebcef1e5d4af1d81 (patch)
tree4b8db11c2688f818212e85be645a0ef8ecb61cbf /src/libstat/stat_config.c
parent9fe6930420bbe6bfa84d3571804661f734cd203f (diff)
downloadrspamd-353113f99bd8c1bbb4db60bbebcef1e5d4af1d81.tar.gz
rspamd-353113f99bd8c1bbb4db60bbebcef1e5d4af1d81.zip
Initialize missing fields.
Diffstat (limited to 'src/libstat/stat_config.c')
-rw-r--r--src/libstat/stat_config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstat/stat_config.c b/src/libstat/stat_config.c
index cd25ad0c5..fe81a0a14 100644
--- a/src/libstat/stat_config.c
+++ b/src/libstat/stat_config.c
@@ -48,6 +48,8 @@ struct rspamd_stat_backend stat_backends[] = {
{
.name = RSPAMD_DEFAULT_BACKEND,
.init = rspamd_mmaped_file_init,
+ .process_token = rspamd_mmaped_file_process_token,
+ .total_learns = rspamd_mmaped_file_total_learns
}
};