diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-08-04 17:50:57 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-08-04 17:50:57 +0400 |
commit | 80b5b55a53622875d4973ea1d440dc7fa916f20b (patch) | |
tree | 5ad851c6fe7e6fd31fa246d874b53ae75f970012 /src/filter.c | |
parent | f46e13b47c010f16075350e17ca0dbfea46e6e05 (diff) | |
download | rspamd-80b5b55a53622875d4973ea1d440dc7fa916f20b.tar.gz rspamd-80b5b55a53622875d4973ea1d440dc7fa916f20b.zip |
* Fix wirting message id during fuzzy_add command
* Display weight of symbols correctly
Diffstat (limited to 'src/filter.c')
-rw-r--r-- | src/filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filter.c b/src/filter.c index d5e127b7a..9e2da0c57 100644 --- a/src/filter.c +++ b/src/filter.c @@ -97,7 +97,7 @@ insert_metric_result (struct worker_task *task, struct metric *metric, const cha memory_pool_add_destructor (task->task_pool, (pool_destruct_func) g_list_free, s->options); } - s->score = w; + s->score += w; } else { s = memory_pool_alloc (task->task_pool, sizeof (struct symbol)); |