From 4f187cfbf2598635295365e647b5032ab11a2cba Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Wed, 13 Jan 2010 01:22:50 +0100 Subject: Use debug_plist() to print xml plists instead of binary buffers --- src/debug.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/debug.c') 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 } -- cgit v1.1-32-gdbae