Fix copy-pasto in config file parsing of the logging level.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
master
Richard Cochran 2012-08-31 16:44:21 +02:00
parent 6330764538
commit 1925f07b3f
1 changed files with 1 additions and 3 deletions

View File

@ -235,11 +235,9 @@ static void scan_global_line(const char *s, struct config *cfg)
} else if (1 == sscanf(s, " logging_level %d", &val)) {
if (!(cfg_ignore & CFG_IGNORE_VERBOSE)) {
if (!(cfg_ignore & CFG_IGNORE_PRINT_LEVEL)) {
if (val >= PRINT_LEVEL_MIN && val <= PRINT_LEVEL_MAX)
cfg->print_level = val;
}
} else if (1 == sscanf(s, " verbose %d", &val)) {