summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/log.c b/src/common/log.c
index 8245bd4f5b..f38089a40f 100644
--- a/src/common/log.c
+++ b/src/common/log.c
@@ -29,7 +29,7 @@ logv(int severity, const char *funcname, const char *format, va_list ap)
struct timeval now;
assert(format);
- if (severity > loglevel)
+ if (severity < loglevel)
return;
my_gettimeofday(&now);