From d40c69e505fd7b47be65c1f3741907bf8f9af612 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 10 Aug 2016 21:29:53 +0100 Subject: [PATCH] [Fix] Do not show rmilter section as a fake metric in rspamc --- src/client/rspamc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/rspamc.c b/src/client/rspamc.c index b9fe5ff54..bad266b9e 100644 --- a/src/client/rspamc.c +++ b/src/client/rspamc.c @@ -642,7 +642,8 @@ rspamc_symbols_output (FILE *out, ucl_object_t *obj) rspamd_fprintf (out, "DKIM-Signature: %s\n", ucl_object_tostring ( cur)); } - else if (cur->type == UCL_OBJECT) { + else if (cur->type == UCL_OBJECT && + g_ascii_strcasecmp (ucl_object_key (cur), "rmilter") != 0) { /* Parse metric */ rspamc_metric_output (out, cur); } -- 2.39.5