From: Vsevolod Stakhov Date: Mon, 19 Nov 2012 11:40:30 +0000 (+0400) Subject: Fix issue with client output in case of non-tty output. X-Git-Tag: 0.5.3~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=87e2d1762744379988e8abad71a6b96e5afc1d29;p=rspamd.git Fix issue with client output in case of non-tty output. --- diff --git a/src/client/rspamc.c b/src/client/rspamc.c index 74423bbf3..18046f0d2 100644 --- a/src/client/rspamc.c +++ b/src/client/rspamc.c @@ -274,9 +274,7 @@ show_metric_result (gpointer key, gpointer value, gpointer ud) if (metric->action) { PRINT_FUNC ("Action: %s\n", metric->action); } - else { - PRINT_FUNC ("Symbols: "); - } + PRINT_FUNC ("Symbols: "); } if (metric->symbols) { g_hash_table_foreach (metric->symbols, show_symbol_result, NULL);