summaryrefslogtreecommitdiffstats
path: root/src/settings.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-01-09 15:49:29 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-01-09 15:49:29 +0000
commit288304789907e4d8bbb5b71dc627c2a5aad2f935 (patch)
treef5e36ea28c70f7fdf7d09932042be97f13341436 /src/settings.c
parent49b2e92d1add1b3746cc71124c1939b6a3288f94 (diff)
downloadrspamd-288304789907e4d8bbb5b71dc627c2a5aad2f935.tar.gz
rspamd-288304789907e4d8bbb5b71dc627c2a5aad2f935.zip
Fix simultaneous bind to ipv6 and ipv6 sockets.
Diffstat (limited to 'src/settings.c')
-rw-r--r--src/settings.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/settings.c b/src/settings.c
index 7f92e112d..b5e043fbf 100644
--- a/src/settings.c
+++ b/src/settings.c
@@ -474,7 +474,8 @@ check_metric_settings (struct metric_result *res, double *score, double *rscore)
double *sc, *rs;
struct metric *metric = res->metric;
- *rscore = DEFAULT_REJECT_SCORE;
+ /* XXX: what the fuck is that? */
+ *rscore = 10.0;
if (us != NULL) {
if ((rs = g_hash_table_lookup (us->reject_scores, metric->name)) != NULL) {