diff options
-rw-r--r-- | src/client/rspamc.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/client/rspamc.c b/src/client/rspamc.c index 9c00a4bc8..8f7f463bb 100644 --- a/src/client/rspamc.c +++ b/src/client/rspamc.c @@ -1238,12 +1238,16 @@ rspamc_client_cb (struct rspamd_client_connection *conn, } else { if (cmd->need_input) { - rspamd_fprintf (out, "Results for file: %s (%.3f seconds)\n", - cbdata->filename, diff); + if (!compact) { + rspamd_fprintf (out, "Results for file: %s (%.3f seconds)\n", + cbdata->filename, diff); + } } else { - rspamd_fprintf (out, "Results for command: %s (%.3f seconds)\n", - cmd->name, diff); + if (!compact) { + rspamd_fprintf (out, "Results for command: %s (%.3f seconds)\n", + cmd->name, diff); + } } if (result != NULL) { |