aboutsummaryrefslogtreecommitdiffstats
path: root/src/cfg_xml.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-07-13 19:39:37 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-07-13 19:39:37 +0400
commitb0ddff4f0d56a877305649a14b902b3f23140b4b (patch)
tree65a2066d13b480b062b20036280d18321fb91e94 /src/cfg_xml.c
parent091e84951a2b032bb2930b300ffe43eaf01a304e (diff)
downloadrspamd-b0ddff4f0d56a877305649a14b902b3f23140b4b.tar.gz
rspamd-b0ddff4f0d56a877305649a14b902b3f23140b4b.zip
* Add new algorithm based on diff algorithm to compare relatively short text parts
Diffstat (limited to 'src/cfg_xml.c')
-rw-r--r--src/cfg_xml.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cfg_xml.c b/src/cfg_xml.c
index bb23dd641..9920f355c 100644
--- a/src/cfg_xml.c
+++ b/src/cfg_xml.c
@@ -293,6 +293,12 @@ static struct xml_parser_rule grammar[] = {
G_STRUCT_OFFSET (struct config_file, statfile_sync_timeout),
NULL
},
+ {
+ "max_diff",
+ xml_handle_size,
+ G_STRUCT_OFFSET (struct config_file, max_diff),
+ NULL
+ },
NULL_ATTR
},
NULL_DEF_ATTR