summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2017-05-30 15:47:55 +0200
committerSimon Rettberg2017-05-30 15:47:55 +0200
commitebefb96c63cb44aa7c42cf2b793bd5fc0e640776 (patch)
treedb6bf80d06147e3831694846ca977bcbb1f73236
parentIntroduce debug levels, AD filter bug workaround, fix legacy homeattr not bei... (diff)
downloadldadp-ebefb96c63cb44aa7c42cf2b793bd5fc0e640776.tar.gz
ldadp-ebefb96c63cb44aa7c42cf2b793bd5fc0e640776.tar.xz
ldadp-ebefb96c63cb44aa7c42cf2b793bd5fc0e640776.zip
Fix inverted debug level check
-rw-r--r--helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/helper.c b/helper.c
index fb0e4a9..1bd12bc 100644
--- a/helper.c
+++ b/helper.c
@@ -205,7 +205,7 @@ void helper_printfilter(struct Filter* f)
void plog(const DebugLevel debugLevel, char *args, ...)
{
- if (debugLevel < _debugLevel) return;
+ if (debugLevel > _debugLevel) return;
va_list argList;
va_start(argList, args);
vprintf(args, argList);