diff options
author | Nikias Bassen | 2023-04-21 16:51:26 +0200 |
---|---|---|
committer | Nikias Bassen | 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 @@ #include <libimobiledevice/libimobiledevice.h> #include <libimobiledevice/lockdown.h> #include <libimobiledevice/misagent.h> -#include <libimobiledevice-glue/utils.h> +#include <plist/plist.h> static void print_usage(int argc, char **argv, int is_error) { @@ -436,7 +436,7 @@ int main(int argc, char *argv[]) } } else { if (pl && (plist_get_node_type(pl) == PLIST_DICT)) { - plist_print_to_stream(pl, stdout); + plist_write_to_stream(pl, stdout, PLIST_FORMAT_LIMD, 0); } else { fprintf(stderr, "ERROR: unexpected node type in profile plist (not PLIST_DICT)\n"); res = -1; |