]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
-vvv should be full verbosity just like -vv.
authorTim Kientzle <kientzle@gmail.com>
Sun, 1 Nov 2009 18:05:18 +0000 (13:05 -0500)
committerTim Kientzle <kientzle@gmail.com>
Sun, 1 Nov 2009 18:05:18 +0000 (13:05 -0500)
SVN-Revision: 1568

libarchive/test/main.c

index 1b0a8cca684346bd3f0553ec6c16ef30675cc4d9..9183cfafe846fed5d3b5ca7128907b8fa5f2f24e 100644 (file)
@@ -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 */