]> source.dussan.org Git - rspamd.git/commitdiff
Fix issue with client output in case of non-tty output.
authorVsevolod Stakhov <vsevolod@rambler-co.ru>
Mon, 19 Nov 2012 11:40:30 +0000 (15:40 +0400)
committerVsevolod Stakhov <vsevolod@rambler-co.ru>
Mon, 19 Nov 2012 11:40:30 +0000 (15:40 +0400)
src/client/rspamc.c

index 74423bbf3bf13002c2044ed6feb0a36b624d2a43..18046f0d216bab61fa4fdb73b042a6ce7b8935c4 100644 (file)
@@ -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);