summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-11-18 14:49:03 +0100
committerGravatar Nikias Bassen2013-11-18 14:49:03 +0100
commit7c19725dbe624d16a94ed05b80f47edb193c7fbf (patch)
tree7f57469ae773ac82e640b602460f8b6499580e85
parent3c3a791794f86d58605d1c6098c249a713af2a48 (diff)
downloadlibimobiledevice-7c19725dbe624d16a94ed05b80f47edb193c7fbf.tar.gz
libimobiledevice-7c19725dbe624d16a94ed05b80f47edb193c7fbf.tar.bz2
ideviceinfo: prevent double output of Dictionary encoded values
-rw-r--r--tools/ideviceinfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/ideviceinfo.c b/tools/ideviceinfo.c
index 0c23d3c..d270b73 100644
--- a/tools/ideviceinfo.c
+++ b/tools/ideviceinfo.c
@@ -378,6 +378,7 @@ int main(int argc, char *argv[])
node_type = plist_get_node_type(node);
if (node_type == PLIST_DICT) {
plist_dict_to_string(node);
+ break;
} else if (node_type == PLIST_ARRAY) {
plist_array_to_string(node);
break;