1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Default to INFO when creating log

This commit is contained in:
James Booth 2013-02-03 00:30:24 +00:00
parent c90c83f7e1
commit 0030ae5890

View File

@ -172,8 +172,10 @@ log_level_from_string(char *log_level)
return PROF_LEVEL_INFO;
} else if (strcmp(log_level, "WARN") == 0) {
return PROF_LEVEL_WARN;
} else {
} else if (strcmp(log_level, "ERROR") == 0) {
return PROF_LEVEL_ERROR;
} else { // default to info
return PROF_LEVEL_INFO;
}
}