diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-09-14 13:46:01 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-09-14 13:46:01 +0100 |
commit | f1d0657f3922da9ae88eb4a3b84cce8fc3444ad9 (patch) | |
tree | af615e02573b67e5f4a19d3a1ab2c1107d5c35ec /src | |
parent | a949be870efa6f5b3d82df8caf2d53cff105643e (diff) | |
download | rspamd-f1d0657f3922da9ae88eb4a3b84cce8fc3444ad9.tar.gz rspamd-f1d0657f3922da9ae88eb4a3b84cce8fc3444ad9.zip |
[Fix] Fix group based composites
Diffstat (limited to 'src')
-rw-r--r-- | src/libserver/composites.c | 2 |
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 */ |