diff options
author | 2023-04-21 16:51:26 +0200 | |
---|---|---|
committer | 2023-04-21 16:51:26 +0200 | |
commit | eda2c5ea71829f11d69342e6858d09aa53943938 (patch) | |
tree | 8bb010c65bb4a1f36cc032a2b40d7d27d414a21d /tools/ideviceinfo.c | |
parent | 963083be85688206fe52042e8e32602d8139726e (diff) | |
download | libimobiledevice-eda2c5ea71829f11d69342e6858d09aa53943938.tar.gz libimobiledevice-eda2c5ea71829f11d69342e6858d09aa53943938.tar.bz2 |
Updated to use latest libplist API changes
Diffstat (limited to 'tools/ideviceinfo.c')
-rw-r--r-- | tools/ideviceinfo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/ideviceinfo.c b/tools/ideviceinfo.c index fc0527d..fd45763 100644 --- a/tools/ideviceinfo.c +++ b/tools/ideviceinfo.c | |||
@@ -37,7 +37,7 @@ | |||
37 | 37 | ||
38 | #include <libimobiledevice/libimobiledevice.h> | 38 | #include <libimobiledevice/libimobiledevice.h> |
39 | #include <libimobiledevice/lockdown.h> | 39 | #include <libimobiledevice/lockdown.h> |
40 | #include <libimobiledevice-glue/utils.h> | 40 | #include <plist/plist.h> |
41 | 41 | ||
42 | #define FORMAT_KEY_VALUE 1 | 42 | #define FORMAT_KEY_VALUE 1 |
43 | #define FORMAT_XML 2 | 43 | #define FORMAT_XML 2 |
@@ -241,11 +241,11 @@ int main(int argc, char *argv[]) | |||
241 | free(xml_doc); | 241 | free(xml_doc); |
242 | break; | 242 | break; |
243 | case FORMAT_KEY_VALUE: | 243 | case FORMAT_KEY_VALUE: |
244 | plist_print_to_stream(node, stdout); | 244 | plist_write_to_stream(node, stdout, PLIST_FORMAT_LIMD, 0); |
245 | break; | 245 | break; |
246 | default: | 246 | default: |
247 | if (key != NULL) | 247 | if (key != NULL) |
248 | plist_print_to_stream(node, stdout); | 248 | plist_write_to_stream(node, stdout, PLIST_FORMAT_LIMD, 0); |
249 | break; | 249 | break; |
250 | } | 250 | } |
251 | plist_free(node); | 251 | plist_free(node); |