diff options
author | Martin Szulecki | 2013-11-19 22:42:35 +0100 |
---|---|---|
committer | Martin Szulecki | 2013-11-19 22:42:35 +0100 |
commit | 40de1e2641326a7ab6ba00c2a54e392e17530895 (patch) | |
tree | ecefb714402925c1999b0026f931b6c355d0b29c /src/tss.c | |
parent | 92f0d8047fc5870eb580d71b74c6a9d3fc22f285 (diff) | |
download | idevicerestore-40de1e2641326a7ab6ba00c2a54e392e17530895.tar.gz idevicerestore-40de1e2641326a7ab6ba00c2a54e392e17530895.tar.bz2 |
tss: Fix check on ApECID as uint instead of string
Diffstat (limited to 'src/tss.c')
-rw-r--r-- | src/tss.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |