log: Fix inverted loglevel check
This commit is contained in:
parent
ce6ab30d5a
commit
eace556aa8
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ void libseat_log_init(enum libseat_log_level level) {
|
||||||
void _libseat_logf(enum libseat_log_level level, const char *fmt, ...) {
|
void _libseat_logf(enum libseat_log_level level, const char *fmt, ...) {
|
||||||
int stored_errno = errno;
|
int stored_errno = errno;
|
||||||
va_list args;
|
va_list args;
|
||||||
if (level < current_log_level) {
|
if (level > current_log_level) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue