From: Tim Kientzle Date: Sun, 1 Nov 2009 18:05:18 +0000 (-0500) Subject: -vvv should be full verbosity just like -vv. X-Git-Tag: v2.8.0~247 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44792f652c7d7c9a9c748da11a64b72279c2abb1;p=thirdparty%2Flibarchive.git -vvv should be full verbosity just like -vv. SVN-Revision: 1568 --- diff --git a/libarchive/test/main.c b/libarchive/test/main.c index 1b0a8cca6..9183cfafe 100644 --- a/libarchive/test/main.c +++ b/libarchive/test/main.c @@ -283,14 +283,11 @@ failure_start(const char *filename, int line, const char *fmt, ...) /* Determine whether to log header to console. */ switch (verbosity) { - case VERBOSITY_FULL: - log_console = 1; - break; case VERBOSITY_LIGHT_REPORT: log_console = (failed_lines[line].count < 2); break; default: - log_console = 0; + log_console = (verbosity >= VERBOSITY_FULL); } /* Log file:line header for this failure */