summaryrefslogtreecommitdiffstats
path: root/src/xplist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xplist.c')
-rw-r--r--src/xplist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xplist.c b/src/xplist.c
index bd506fb..a0ab6d3 100644
--- a/src/xplist.c
+++ b/src/xplist.c
@@ -104,7 +104,9 @@ void plist_xml_deinit(void)
void plist_xml_set_debug(int debug)
{
+#if DEBUG
plist_xml_debug = debug;
+#endif
}
static size_t dtostr(char *buf, size_t bufsize, double realval)