summaryrefslogtreecommitdiffstats
path: root/src/libstat/stat_config.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-07-27 13:51:50 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-07-27 13:51:50 +0100
commit6f7007aca294790c8cb2bb3b784005dc1a2118a4 (patch)
treeaa2c60980dbd06a3df1281b6fbfb999b3e0978bd /src/libstat/stat_config.c
parent043c5b7bcdb055c7f45034bd0a83408773c35bfd (diff)
downloadrspamd-6f7007aca294790c8cb2bb3b784005dc1a2118a4.tar.gz
rspamd-6f7007aca294790c8cb2bb3b784005dc1a2118a4.zip
Fix stat processing.
Diffstat (limited to 'src/libstat/stat_config.c')
-rw-r--r--src/libstat/stat_config.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libstat/stat_config.c b/src/libstat/stat_config.c
index 9ae1b5bf8..9e65b68a5 100644
--- a/src/libstat/stat_config.c
+++ b/src/libstat/stat_config.c
@@ -46,14 +46,16 @@ static struct rspamd_stat_tokenizer stat_tokenizers[] = {
.get_config = rspamd_tokenizer_osb_get_config,
.compatible_config = rspamd_tokenizer_osb_compatible_config,
.tokenize_func = rspamd_tokenizer_osb,
- .load_config = rspamd_tokenizer_osb_load_config
+ .load_config = rspamd_tokenizer_osb_load_config,
+ .is_compat = rspamd_tokenizer_osb_is_compat
},
{
.name = "osb",
.get_config = rspamd_tokenizer_osb_get_config,
.compatible_config = rspamd_tokenizer_osb_compatible_config,
.tokenize_func = rspamd_tokenizer_osb,
- .load_config = rspamd_tokenizer_osb_load_config
+ .load_config = rspamd_tokenizer_osb_load_config,
+ .is_compat = rspamd_tokenizer_osb_is_compat
},
};