summaryrefslogtreecommitdiff
path: root/accel-pppd/triton/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/triton/log.c')
-rw-r--r--accel-pppd/triton/log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pppd/triton/log.c b/accel-pppd/triton/log.c
index 668d9e92..f34650f1 100644
--- a/accel-pppd/triton/log.c
+++ b/accel-pppd/triton/log.c
@@ -66,10 +66,10 @@ void triton_log_error(const char *fmt,...)
void triton_log_debug(const char *fmt,...)
{
va_list ap;
-
+
if (!f_debug)
return;
-
+
va_start(ap, fmt);
do_log(f_debug, fmt, ap);
va_end(ap);