summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-11-19 22:42:35 +0100
committerGravatar Martin Szulecki2013-11-19 22:42:35 +0100
commit40de1e2641326a7ab6ba00c2a54e392e17530895 (patch)
treeecefb714402925c1999b0026f931b6c355d0b29c /src
parent92f0d8047fc5870eb580d71b74c6a9d3fc22f285 (diff)
downloadidevicerestore-40de1e2641326a7ab6ba00c2a54e392e17530895.tar.gz
idevicerestore-40de1e2641326a7ab6ba00c2a54e392e17530895.tar.bz2
tss: Fix check on ApECID as uint instead of string
Diffstat (limited to 'src')
-rw-r--r--src/tss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tss.c b/src/tss.c
index e326305..0133644 100644
--- a/src/tss.c
+++ b/src/tss.c
@@ -148,7 +148,7 @@ int tss_request_add_ap_img3_tags(plist_t request, plist_t parameters) {
/* ApECID */
node = plist_dict_get_item(parameters, "ApECID");
- if (!node || plist_get_node_type(node) != PLIST_STRING) {
+ if (!node || plist_get_node_type(node) != PLIST_UINT) {
error("ERROR: Unable to find required ApECID in parameters\n");
return -1;
}