diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-20 17:13:59 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-20 17:14:18 +0000 |
commit | dc575a6374f4de6af8fd2ab98ef2e3690db3148d (patch) | |
tree | 4642fbbad59e0fbd4c85c6608dd1d24290d561c6 | |
parent | dcb7971bc217705e51e6d109809c20f42282d8d9 (diff) | |
download | rspamd-dc575a6374f4de6af8fd2ab98ef2e3690db3148d.tar.gz rspamd-dc575a6374f4de6af8fd2ab98ef2e3690db3148d.zip |
[Minor] Print rewritten subject in client
-rw-r--r-- | src/client/rspamc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/rspamc.c b/src/client/rspamc.c index ea1003437..764dd9376 100644 --- a/src/client/rspamc.c +++ b/src/client/rspamc.c @@ -609,6 +609,9 @@ rspamc_metric_output (FILE *out, const ucl_object_t *obj) else if (g_ascii_strcasecmp (ucl_object_key (cur), "action") == 0) { rspamd_fprintf (out, "Action: %s\n", ucl_object_tostring (cur)); } + else if (g_ascii_strcasecmp (ucl_object_key (cur), "subject") == 0) { + rspamd_fprintf (out, "Subject: %s\n", ucl_object_tostring (cur)); + } else if (cur->type == UCL_OBJECT) { g_ptr_array_add (sym_ptr, (void *)cur); } |