summaryrefslogtreecommitdiffstats
path: root/src/restore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/restore.c')
-rw-r--r--src/restore.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/restore.c b/src/restore.c
index 4452d46..df39b9d 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -169,13 +169,13 @@ int restore_check_device(const char* uuid) {
}
plist_get_string_val(node, &model);
- for (i = 0; idevicerestore_devices[i].model != NULL; i++) {
- if (!strcasecmp(model, idevicerestore_devices[i].model)) {
+ for (i = 0; irecv_devices[i].model != NULL; i++) {
+ if (!strcasecmp(model, irecv_devices[i].model)) {
break;
}
}
- return idevicerestore_devices[i].index;
+ return irecv_devices[i].index;
}
void restore_device_callback(const idevice_event_t* event, void* userdata) {