From: Miroslav Lichvar Date: Fri, 18 Mar 2016 13:28:53 +0000 (+0100) Subject: client: ignore -v option in csv mode X-Git-Tag: 2.4-pre1~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb329e9f52d47abd415171229d1479a26344bd08;p=thirdparty%2Fchrony.git client: ignore -v option in csv mode --- diff --git a/client.c b/client.c index 2635a349..e560344a 100644 --- a/client.c +++ b/client.c @@ -1907,12 +1907,9 @@ format_name(char *buf, int size, int trunc_dns, int ref, uint32_t ref_id, static int check_for_verbose_flag(char *line) { - char *p = line; - if (!strcmp(p, "-v")) { + if (!csv_mode && !strcmp(line, "-v")) return 1; - } else { - return 0; - } + return 0; } /* ================================================== */