summaryrefslogtreecommitdiffstats
path: root/src/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug.c')
-rw-r--r--src/debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/debug.c b/src/debug.c
index 9b8d3f1..2cdeebf 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -137,6 +137,7 @@ inline void debug_buffer_to_file(const char *file, const char *data, const int l
inline void debug_plist(plist_t plist)
{
+#ifndef STRIP_DEBUG_CODE
if (!plist)
return;
@@ -145,5 +146,6 @@ inline void debug_plist(plist_t plist)
plist_to_xml(plist, &buffer, &length);
debug_info("plist size: %i\nbuffer :\n%s", length, buffer);
free(buffer);
+#endif
}