diff options
author | Nikias Bassen | 2012-02-14 21:17:23 +0100 |
---|---|---|
committer | Nikias Bassen | 2012-02-14 21:17:23 +0100 |
commit | d7f8d0e0824d2213fb9811e9340586d1c704851b (patch) | |
tree | 8f34990961e736916f4a1afdc81fa3ebdefe83c2 /src/normal.c | |
parent | 47457408e39975e63f167e5d488bc5d80f0e36aa (diff) | |
download | idevicerestore-d7f8d0e0824d2213fb9811e9340586d1c704851b.tar.gz idevicerestore-d7f8d0e0824d2213fb9811e9340586d1c704851b.tar.bz2 |
remove duplicate CPID/BDID and devices structs
and use the ones from libirecovery.h instead
Diffstat (limited to 'src/normal.c')
-rw-r--r-- | src/normal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/normal.c b/src/normal.c index 9902597..8547b2c 100644 --- a/src/normal.c +++ b/src/normal.c @@ -248,13 +248,13 @@ int normal_check_device(struct idevicerestore_client_t* client) { plist_get_string_val(product_type_node, &product_type); plist_free(product_type_node); - for (i = 0; idevicerestore_devices[i].product != NULL; i++) { - if (!strcmp(product_type, idevicerestore_devices[i].product)) { + for (i = 0; irecv_devices[i].product != NULL; i++) { + if (!strcmp(product_type, irecv_devices[i].product)) { break; } } - return idevicerestore_devices[i].index; + return irecv_devices[i].index; } int normal_enter_recovery(struct idevicerestore_client_t* client) { |