aboutsummaryrefslogtreecommitdiffstats
path: root/src/expressions.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2012-10-12 18:43:07 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2012-10-12 18:43:07 +0400
commit9c867f8a27255ec15a87675f0bd037fddb30a440 (patch)
tree1d06dfe40fe5eb82c2a5e53c2438eb40572a7797 /src/expressions.c
parentaa7c8f99ba4860a3cbf2153026cb91f6053fc66c (diff)
downloadrspamd-9c867f8a27255ec15a87675f0bd037fddb30a440.tar.gz
rspamd-9c867f8a27255ec15a87675f0bd037fddb30a440.zip
Forgot in previous commit.
Diffstat (limited to 'src/expressions.c')
-rw-r--r--src/expressions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expressions.c b/src/expressions.c
index f3356a218..6a88514c9 100644
--- a/src/expressions.c
+++ b/src/expressions.c
@@ -1051,7 +1051,7 @@ rspamd_parts_distance (struct worker_task * task, GList * args, void *unused)
}
if (!p1->is_empty && !p2->is_empty) {
if (p1->diff_str != NULL && p2->diff_str != NULL) {
- diff = compare_diff_distance (p1->diff_str, p2->diff_str);
+ diff = compare_diff_distance_normalized (p1->diff_str, p2->diff_str);
}
else {
diff = fuzzy_compare_parts (p1, p2);