From: Vsevolod Stakhov Date: Mon, 14 Dec 2020 17:08:30 +0000 (+0000) Subject: [Minor] Composites: Insert symbol to the selected result structure X-Git-Tag: 2.7~67 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=910b149cd17c5802d5a2838b6fe6efd6549985df;p=thirdparty%2Frspamd.git [Minor] Composites: Insert symbol to the selected result structure --- diff --git a/src/libserver/composites.c b/src/libserver/composites.c index ba3e645479..6f3e8a7b06 100644 --- a/src/libserver/composites.c +++ b/src/libserver/composites.c @@ -818,7 +818,8 @@ composites_foreach_callback (gpointer key, gpointer value, void *data) /* Result bit */ if (rc != 0) { setbit (cd->checked, comp->id * 2 + 1); - rspamd_task_insert_result_single (cd->task, key, 1.0, NULL); + rspamd_task_insert_result_full (cd->task, key, 1.0, NULL, + RSPAMD_SYMBOL_INSERT_SINGLE, cd->metric_res); } else { clrbit (cd->checked, comp->id * 2 + 1);