diff options
author | 2023-04-21 16:51:26 +0200 | |
---|---|---|
committer | 2023-04-21 16:51:26 +0200 | |
commit | eda2c5ea71829f11d69342e6858d09aa53943938 (patch) | |
tree | 8bb010c65bb4a1f36cc032a2b40d7d27d414a21d /tools/ideviceprovision.c | |
parent | 963083be85688206fe52042e8e32602d8139726e (diff) | |
download | libimobiledevice-eda2c5ea71829f11d69342e6858d09aa53943938.tar.gz libimobiledevice-eda2c5ea71829f11d69342e6858d09aa53943938.tar.bz2 |
Updated to use latest libplist API changes
Diffstat (limited to 'tools/ideviceprovision.c')
-rw-r--r-- | tools/ideviceprovision.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/ideviceprovision.c b/tools/ideviceprovision.c index 7cd4f3f..4080a28 100644 --- a/tools/ideviceprovision.c +++ b/tools/ideviceprovision.c | |||
@@ -45,7 +45,7 @@ | |||
45 | #include <libimobiledevice/libimobiledevice.h> | 45 | #include <libimobiledevice/libimobiledevice.h> |
46 | #include <libimobiledevice/lockdown.h> | 46 | #include <libimobiledevice/lockdown.h> |
47 | #include <libimobiledevice/misagent.h> | 47 | #include <libimobiledevice/misagent.h> |
48 | #include <libimobiledevice-glue/utils.h> | 48 | #include <plist/plist.h> |
49 | 49 | ||
50 | static void print_usage(int argc, char **argv, int is_error) | 50 | static void print_usage(int argc, char **argv, int is_error) |
51 | { | 51 | { |
@@ -436,7 +436,7 @@ int main(int argc, char *argv[]) | |||
436 | } | 436 | } |
437 | } else { | 437 | } else { |
438 | if (pl && (plist_get_node_type(pl) == PLIST_DICT)) { | 438 | if (pl && (plist_get_node_type(pl) == PLIST_DICT)) { |
439 | plist_print_to_stream(pl, stdout); | 439 | plist_write_to_stream(pl, stdout, PLIST_FORMAT_LIMD, 0); |
440 | } else { | 440 | } else { |
441 | fprintf(stderr, "ERROR: unexpected node type in profile plist (not PLIST_DICT)\n"); | 441 | fprintf(stderr, "ERROR: unexpected node type in profile plist (not PLIST_DICT)\n"); |
442 | res = -1; | 442 | res = -1; |