summaryrefslogtreecommitdiffstats
path: root/helper.c
diff options
context:
space:
mode:
authorSimon Rettberg2017-05-30 15:58:37 +0200
committerSimon Rettberg2017-05-30 15:58:37 +0200
commit4c6cc1ebdd4c32fa144a956038f33c560e964cdc (patch)
tree1aace276dba73c89d3f2d90ae471e1cef4cfbeb9 /helper.c
parentFix inverted debug level check (diff)
downloadldadp-4c6cc1ebdd4c32fa144a956038f33c560e964cdc.tar.gz
ldadp-4c6cc1ebdd4c32fa144a956038f33c560e964cdc.tar.xz
ldadp-4c6cc1ebdd4c32fa144a956038f33c560e964cdc.zip
Make pretty
Diffstat (limited to 'helper.c')
-rw-r--r--helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/helper.c b/helper.c
index 1bd12bc..c7b4aaf 100644
--- a/helper.c
+++ b/helper.c
@@ -203,9 +203,9 @@ void helper_printfilter(struct Filter* f)
putchar('\n');
}
-void plog(const DebugLevel debugLevel, char *args, ...)
+void plog(const DebugLevel messageLevel, char *args, ...)
{
- if (debugLevel > _debugLevel) return;
+ if (messageLevel > _debugLevel) return;
va_list argList;
va_start(argList, args);
vprintf(args, argList);