summaryrefslogtreecommitdiffstats
path: root/src/jplist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/jplist.c')
-rw-r--r--src/jplist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jplist.c b/src/jplist.c
index 8ed7398..047b423 100644
--- a/src/jplist.c
+++ b/src/jplist.c
@@ -66,7 +66,9 @@ void plist_json_deinit(void)
void plist_json_set_debug(int debug)
{
+#ifdef DEBUG
plist_json_debug = debug;
+#endif
}
#ifndef HAVE_STRNDUP