aboutsummaryrefslogtreecommitdiffstats
path: root/src/cfg_file.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-05-27 18:59:02 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-05-27 18:59:02 +0400
commit0dc48ea239965d05b760cb9d8e570e0d91aedb77 (patch)
treedb2d4c9b80a3408d12cb8bf4cfad57d45238abb9 /src/cfg_file.h
parentac8249b6ee746f022b0753789e6e2b46ab842abc (diff)
downloadrspamd-0dc48ea239965d05b760cb9d8e570e0d91aedb77.tar.gz
rspamd-0dc48ea239965d05b760cb9d8e570e0d91aedb77.zip
* Convert statistic sums to use long double for counters
* Use hyperbolic tangent for internal normalizer
Diffstat (limited to 'src/cfg_file.h')
-rw-r--r--src/cfg_file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cfg_file.h b/src/cfg_file.h
index baf65c377..dec843359 100644
--- a/src/cfg_file.h
+++ b/src/cfg_file.h
@@ -161,7 +161,7 @@ struct statfile_binlog_params {
uint16_t master_port;
};
-typedef double (*statfile_normalize_func)(struct config_file *cfg, double score, void *params);
+typedef double (*statfile_normalize_func)(struct config_file *cfg, long double score, void *params);
/**
* Statfile config definition