aboutsummaryrefslogtreecommitdiffstats
path: root/src/fuzzy.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-30 19:35:57 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-30 19:35:57 +0400
commitf579fed1dee306a5cf58360589d29ae1514d25b4 (patch)
treef5d5e288553d30fc617d06bf9e48ae919092f876 /src/fuzzy.c
parentdd2fbb7a5b7e1c0d844900147486ad7ffd98c1e4 (diff)
downloadrspamd-f579fed1dee306a5cf58360589d29ae1514d25b4.tar.gz
rspamd-f579fed1dee306a5cf58360589d29ae1514d25b4.zip
* Add 3 functions:
- is_recipients_sorted - has_only_html_part - compare_recipients_distance * Update documentation * Fix build
Diffstat (limited to 'src/fuzzy.c')
-rw-r--r--src/fuzzy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fuzzy.c b/src/fuzzy.c
index ecd1af64f..a53ed929d 100644
--- a/src/fuzzy.c
+++ b/src/fuzzy.c
@@ -107,7 +107,7 @@ fuzzy_update (fuzzy_hash_t *h, char c)
*
* Replace cost is normally 1, and 2 with nonzero xcost.
*/
-static uint32_t
+uint32_t
lev_distance (char *s1, int len1, char *s2, int len2)
{
int i;