diff options
| author | 2010-01-08 16:31:08 +0100 | |
|---|---|---|
| committer | 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) | |||
| 278 | plist_dict_next_item(node, it, &key, &subnode); | 278 | plist_dict_next_item(node, it, &key, &subnode); |
| 279 | while (subnode) | 279 | while (subnode) |
| 280 | { | 280 | { |
| 281 | subnode = NULL; | ||
| 282 | |||
| 283 | printf("%s: ", key); | 281 | printf("%s: ", key); |
| 284 | free(key); | 282 | free(key); |
| 285 | key = NULL; | 283 | key = NULL; |
| 286 | plist_node_to_string(subnode); | 284 | plist_node_to_string(subnode); |
| 287 | |||
| 288 | plist_dict_next_item(node, it, &key, &subnode); | 285 | plist_dict_next_item(node, it, &key, &subnode); |
| 289 | } | 286 | } |
| 290 | free(it); | 287 | free(it); |
