{
struct composites_data *cd = data;
struct rspamd_composite *comp = value;
- gint rc;
+ gdouble rc;
cd->composite = comp;
setbit (cd->checked, comp->id * 2);
/* Result bit */
- if (rc) {
+ if (rc != 0) {
setbit (cd->checked, comp->id * 2 + 1);
rspamd_task_insert_result_single (cd->task, key, 1.0, NULL);
}
RSPAMD_CACHE_PASS_POSTFILTERS) {
checkpoint->pass = RSPAMD_CACHE_PASS_POSTFILTERS;
}
+
if (stage == RSPAMD_TASK_STAGE_IDEMPOTENT && checkpoint->pass <
RSPAMD_CACHE_PASS_IDEMPOTENT) {
checkpoint->pass = RSPAMD_CACHE_PASS_IDEMPOTENT;