From d7f8d0e0824d2213fb9811e9340586d1c704851b Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 14 Feb 2012 21:17:23 +0100 Subject: remove duplicate CPID/BDID and devices structs and use the ones from libirecovery.h instead --- src/normal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/normal.c') 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) { -- cgit v1.1-32-gdbae