This website works better with JavaScript.
Home
Explore
Help
Sign In
mirrors
/
rspamd
mirror of
https://github.com/vstakhov/rspamd.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
159
Wiki
Activity
Browse Source
Unknown symbols now have zero weight not 1.0.
tags/0.6.7
Vsevolod Stakhov
10 years ago
parent
2c3794e8f1
commit
c5e10a0843
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
1
1
src/filter.c
+ 1
- 1
src/filter.c
View File
@@ -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;
Write
Preview
Loading…
Cancel
Save