aboutsummaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-08-10 21:29:53 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-08-10 21:29:53 +0100
commitd40c69e505fd7b47be65c1f3741907bf8f9af612 (patch)
tree3aeb6b0b55bffe16ce34f02e66c81d9e4410ac90 /src/client
parent9cd729d4cc45833b3e613aa7db1841eda4d9c3e0 (diff)
downloadrspamd-d40c69e505fd7b47be65c1f3741907bf8f9af612.tar.gz
rspamd-d40c69e505fd7b47be65c1f3741907bf8f9af612.zip
[Fix] Do not show rmilter section as a fake metric in rspamc
Diffstat (limited to 'src/client')
-rw-r--r--src/client/rspamc.c3
1 files changed, 2 insertions, 1 deletions
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);
}