summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2012-11-08 02:53:58 +0100
committerGravatar Martin Szulecki2012-11-08 02:53:58 +0100
commit09a39c8adf140752d0b7de09c101f2b1e5a50ee9 (patch)
tree4d9979603ddcdc302571fb849459714a054f84d8 /src
parent1afbf0c4e6d46920c5ae5c882d4dfdbdb3a33030 (diff)
downloadidevicerestore-09a39c8adf140752d0b7de09c101f2b1e5a50ee9.tar.gz
idevicerestore-09a39c8adf140752d0b7de09c101f2b1e5a50ee9.tar.bz2
idevicerestore: Fix compilation due to typo
Diffstat (limited to 'src')
-rw-r--r--src/idevicerestore.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c
index be7c252..6bdab05 100644
--- a/src/idevicerestore.c
+++ b/src/idevicerestore.c
@@ -1266,7 +1266,7 @@ int check_device(struct idevicerestore_client_t* client) {
device = DEVICE_IPAD25;
break;
case BDID_IPOD5G:
- device_id = DEVICE_IPOD5G;
+ device = DEVICE_IPOD5G;
break;
default:
device = DEVICE_UNKNOWN;
@@ -1321,10 +1321,10 @@ int check_device(struct idevicerestore_client_t* client) {
}
switch (bdid) {
case BDID_IPAD34:
- device_id = DEVICE_IPAD34;
+ device = DEVICE_IPAD34;
break;
default:
- device_id = DEVICE_UNKNOWN;
+ device = DEVICE_UNKNOWN;
break;
}
break;