浏览代码

Updated to use latest libplist API

Nikias Bassen 2 年之前
父节点
当前提交
7321192b1b
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      configure.ac
  2. 1 1
      src/ipsw.c

+ 1 - 1
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

+ 1 - 1
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;