diff options
author | cebka@lenovo-laptop <cebka@lenovo-laptop> | 2010-01-14 14:26:23 +0300 |
---|---|---|
committer | cebka@lenovo-laptop <cebka@lenovo-laptop> | 2010-01-14 14:26:23 +0300 |
commit | 95133a591e7f09a0601b34e8c436cd3c3483af37 (patch) | |
tree | e9d20582cef4d5f2f1c2e2625eada2828c127af0 /src/classifiers/winnow.c | |
parent | fc70f10e7c2a7b0aeb5da7b28c64131b03538e76 (diff) | |
download | rspamd-95133a591e7f09a0601b34e8c436cd3c3483af37.tar.gz rspamd-95133a591e7f09a0601b34e8c436cd3c3483af37.zip |
* Forgotten call of normalizer function
Diffstat (limited to 'src/classifiers/winnow.c')
-rw-r--r-- | src/classifiers/winnow.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/classifiers/winnow.c b/src/classifiers/winnow.c index 522d3f4d5..e103dd50d 100644 --- a/src/classifiers/winnow.c +++ b/src/classifiers/winnow.c @@ -170,6 +170,9 @@ winnow_classify (struct classifier_ctx *ctx, statfile_pool_t * pool, GTree * inp if (data.count != 0) { res = data.sum / data.count; + if (st->normalizer != NULL) { + res = st->normalizer (res, st->normalizer_data); + } } else { res = 0; |