aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2012-11-19 15:40:30 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2012-11-19 15:40:30 +0400
commit87e2d1762744379988e8abad71a6b96e5afc1d29 (patch)
treed172030e3fa926357da8accc740facf895fcca4b
parent8d3750f608caf9bd6cc390da494381ff5f36e57e (diff)
downloadrspamd-87e2d1762744379988e8abad71a6b96e5afc1d29.tar.gz
rspamd-87e2d1762744379988e8abad71a6b96e5afc1d29.zip
Fix issue with client output in case of non-tty output.
-rw-r--r--src/client/rspamc.c4
1 files changed, 1 insertions, 3 deletions
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);