mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 14:40:22 +00:00
setting verbose mode fix
fixed inverted condition introduced by the commit 2909e464 (2024-05-13)
This commit is contained in:
@@ -345,7 +345,7 @@ static bool parse_opts_set_logging(int argc, char *argv[])
|
||||
getopt_long(argc, argv, optstring, getopt_options, nullptr);
|
||||
switch (ch) {
|
||||
case 'V':
|
||||
if (optarg == nullptr) {
|
||||
if (optarg != nullptr) {
|
||||
log_opt = optarg;
|
||||
} else {
|
||||
logging_lvl += 1;
|
||||
|
||||
Reference in New Issue
Block a user