summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2013-01-26 19:49:23 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2013-01-26 19:49:23 +0400
commit395bb422be0ff0293a7e6fe435014050950256ce (patch)
tree06122f7c817081f4066c37d542aed5c3dfde21fd
parentb038cea33d7afed6612b6326b09421867f2f26d4 (diff)
downloadrspamd-395bb422be0ff0293a7e6fe435014050950256ce.tar.gz
rspamd-395bb422be0ff0293a7e6fe435014050950256ce.zip
Fix misprint in diff function normalizer.
-rw-r--r--src/diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diff.c b/src/diff.c
index 354cfeda9..ee921fa6e 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -457,7 +457,7 @@ compare_diff_distance_normalized (f_str_t *s1, f_str_t *s2)
if (!g_ascii_isspace (*h)) {
cur_diff ++;
}
- r1 --;
+ r2 --;
h ++;
}
}