From: cebka@lenovo-laptop Date: Thu, 14 Jan 2010 11:26:23 +0000 (+0300) Subject: * Forgotten call of normalizer function X-Git-Tag: 0.3.0~99 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95133a591e7f09a0601b34e8c436cd3c3483af37;p=thirdparty%2Frspamd.git * Forgotten call of normalizer function --- diff --git a/src/classifiers/winnow.c b/src/classifiers/winnow.c index 522d3f4d5b..e103dd50de 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;