summaryrefslogtreecommitdiffstats
path: root/dev/plutil.c
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2008-11-30 21:49:56 +0100
committerGravatar Jonathan Beck2008-11-30 21:49:56 +0100
commitd560cf5a15d1aef74e95b208ed69b7d324d94354 (patch)
treedbb5ffacf09ae6abbe002c53604f580996d5cdb6 /dev/plutil.c
parent889cb32a1231c41762d7e2bbe6c891bd3a6c9a7d (diff)
downloadlibplist-d560cf5a15d1aef74e95b208ed69b7d324d94354.tar.gz
libplist-d560cf5a15d1aef74e95b208ed69b7d324d94354.tar.bz2
complete xml plist abstraction and migrate lockdownd_hello to new plist API.
Diffstat (limited to 'dev/plutil.c')
-rw-r--r--dev/plutil.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev/plutil.c b/dev/plutil.c
index d1f1cd4..0e25291 100644
--- a/dev/plutil.c
+++ b/dev/plutil.c
@@ -47,7 +47,8 @@ int main(int argc, char *argv[])
return 0;
}
char *plist_xml = NULL;
- plist_to_xml(root_node, &plist_xml);
+ int size = 0;
+ plist_to_xml(root_node, &plist_xml, &size);
printf("%s\n", plist_xml);
return 0;
}