aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/log.c2
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;
}