aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-06-04 08:44:47 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-06-04 13:36:38 +0100
commitd7f80660ea8280c282b99b18001352231d742f07 (patch)
tree98eaa2d637b191db15a1e4f8bc1f23ed8070b986 /src/libmime
parent117feb44708d70372507ead74a06ce40c38ddac2 (diff)
downloadrspamd-d7f80660ea8280c282b99b18001352231d742f07.tar.gz
rspamd-d7f80660ea8280c282b99b18001352231d742f07.zip
[Fix] Resgore the collaterally removed line
Issue: #4981
Diffstat (limited to 'src/libmime')
-rw-r--r--src/libmime/scan_result.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/scan_result.c b/src/libmime/scan_result.c
index ad3b5ef24..f15290b95 100644
--- a/src/libmime/scan_result.c
+++ b/src/libmime/scan_result.c
@@ -407,7 +407,7 @@ insert_metric_result(struct rspamd_task *task,
}
if (!isnan(diff)) {
-
+ metric_res->score += diff;
if (single) {
msg_debug_metric("final score for single symbol %s = %.2f; %.2f diff",
symbol, final_score, diff);