diff options
author | Martin Szulecki | 2010-01-08 16:31:08 +0100 |
---|---|---|
committer | Martin Szulecki | 2010-01-08 16:31:08 +0100 |
commit | 9cc97faebcaabd6af2f9cc9280ba6a0f8cd85e60 (patch) | |
tree | 245fbfe5d2e414a4dc591489e6c92ab0bbd40560 | |
parent | 7ff00ff9dc3039f811e6b2ac234958acc0a02d78 (diff) | |
download | libimobiledevice-9cc97faebcaabd6af2f9cc9280ba6a0f8cd85e60.tar.gz libimobiledevice-9cc97faebcaabd6af2f9cc9280ba6a0f8cd85e60.tar.bz2 |
Fix printing values in iphoneinfo when in key/value output mode
-rw-r--r-- | tools/iphoneinfo.c | 3 |
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); |