aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-09-14 13:46:01 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-09-14 13:46:01 +0100
commitf1d0657f3922da9ae88eb4a3b84cce8fc3444ad9 (patch)
treeaf615e02573b67e5f4a19d3a1ab2c1107d5c35ec /src
parenta949be870efa6f5b3d82df8caf2d53cff105643e (diff)
downloadrspamd-f1d0657f3922da9ae88eb4a3b84cce8fc3444ad9.tar.gz
rspamd-f1d0657f3922da9ae88eb4a3b84cce8fc3444ad9.zip
[Fix] Fix group based composites
Diffstat (limited to 'src')
-rw-r--r--src/libserver/composites.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/composites.c b/src/libserver/composites.c
index 7dff93802..c1ee471f8 100644
--- a/src/libserver/composites.c
+++ b/src/libserver/composites.c
@@ -394,7 +394,7 @@ rspamd_composite_expr_process (void *ud,
struct rspamd_task *task = cd->task;
GHashTableIter it;
gpointer k, v;
- gdouble rc = epsilon, max = epsilon;
+ gdouble rc = 0, max = 0;
if (isset (cd->checked, cd->composite->id * 2)) {
/* We have already checked this composite, so just return its value */