summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2023-04-21 17:25:05 +0200
committerGravatar Nikias Bassen2023-04-21 17:25:05 +0200
commit7321192b1bd3781ca214f575d63e2df4b0fdade2 (patch)
tree80122b60acdeccf6a2cc136d7f550edd7560e086
parent1ec7bb430971341f16e7f0f6a8670d2f5b850ff8 (diff)
downloadidevicerestore-7321192b1bd3781ca214f575d63e2df4b0fdade2.tar.gz
idevicerestore-7321192b1bd3781ca214f575d63e2df4b0fdade2.tar.bz2
Updated to use latest libplist API
-rw-r--r--configure.ac2
-rw-r--r--src/ipsw.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 3815275..cadd48e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,7 +17,7 @@ fi
# Minimum package versions
LIBIRECOVERY_VERSION=1.0.1
LIBIMOBILEDEVICE_VERSION=1.3.0
-LIBPLIST_VERSION=2.2.0
+LIBPLIST_VERSION=2.3.0
LIMD_GLUE_VERSION=1.0.0
LIBZIP_VERSION=1.0
LIBCURL_VERSION=7.0
diff --git a/src/ipsw.c b/src/ipsw.c
index 5c88c0d..fafe583 100644
--- a/src/ipsw.c
+++ b/src/ipsw.c
@@ -134,7 +134,7 @@ int ipsw_print_info(const char* path)
}
plist_t manifest = NULL;
- plist_from_memory(plist_buf, plist_len, &manifest);
+ plist_from_memory(plist_buf, plist_len, &manifest, NULL);
free(plist_buf);
plist_t val;