summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-01-08 16:31:08 +0100
committerGravatar Martin Szulecki2010-01-08 16:31:08 +0100
commit9cc97faebcaabd6af2f9cc9280ba6a0f8cd85e60 (patch)
tree245fbfe5d2e414a4dc591489e6c92ab0bbd40560
parent7ff00ff9dc3039f811e6b2ac234958acc0a02d78 (diff)
downloadlibimobiledevice-9cc97faebcaabd6af2f9cc9280ba6a0f8cd85e60.tar.gz
libimobiledevice-9cc97faebcaabd6af2f9cc9280ba6a0f8cd85e60.tar.bz2
Fix printing values in iphoneinfo when in key/value output mode
-rw-r--r--tools/iphoneinfo.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/iphoneinfo.c b/tools/iphoneinfo.c
index 423c57e..b5344be 100644
--- a/tools/iphoneinfo.c
+++ b/tools/iphoneinfo.c
@@ -278,13 +278,10 @@ void plist_children_to_string(plist_t node)
plist_dict_next_item(node, it, &key, &subnode);
while (subnode)
{
- subnode = NULL;
-
printf("%s: ", key);
free(key);
key = NULL;
plist_node_to_string(subnode);
-
plist_dict_next_item(node, it, &key, &subnode);
}
free(it);