diff options
author | Kenny Levinsen <kl@kl.wtf> | 2020-08-02 17:46:46 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2020-08-02 17:46:46 +0200 |
commit | eace556aa8844e86c525fff9bad3d4cf09bba31b (patch) | |
tree | 16df18d33740bc9758232244d097af5bccca92da /common | |
parent | ce6ab30d5aa0c297b81af24b81f97e600dde10e8 (diff) |
log: Fix inverted loglevel check
Diffstat (limited to 'common')
-rw-r--r-- | common/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/log.c b/common/log.c index 1474dcc..fcedf43 100644 --- a/common/log.c +++ b/common/log.c @@ -49,7 +49,7 @@ void libseat_log_init(enum libseat_log_level level) { void _libseat_logf(enum libseat_log_level level, const char *fmt, ...) { int stored_errno = errno; va_list args; - if (level < current_log_level) { + if (level > current_log_level) { return; } |