aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-12-30 17:09:45 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-12-30 17:09:45 +0000
commit381855ed424d8bbc4f755d3f3f6fa58df2f14971 (patch)
treeb983968b45fc929b563c8ada8459b325292d7392
parent9ebfb824efb4c1fd5325c9451669bf9c5cb5c544 (diff)
parentc5e10a08439bb9d91ccb7268f76725de2650f50a (diff)
downloadrspamd-381855ed424d8bbc4f755d3f3f6fa58df2f14971.tar.gz
rspamd-381855ed424d8bbc4f755d3f3f6fa58df2f14971.zip
Fucking hg.
-rw-r--r--src/filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filter.c b/src/filter.c
index d635c49e5..b1448f173 100644
--- a/src/filter.c
+++ b/src/filter.c
@@ -89,7 +89,7 @@ insert_metric_result (struct worker_task *task, struct metric *metric, const gch
weight = g_hash_table_lookup (metric->symbols, symbol);
if (weight == NULL) {
- w = 1.0 * flag;
+ w = 0.0;
}
else {
w = (*weight) * flag;