diff options
author | Martin Szulecki | 2012-11-08 02:53:58 +0100 |
---|---|---|
committer | Martin Szulecki | 2012-11-08 02:53:58 +0100 |
commit | 09a39c8adf140752d0b7de09c101f2b1e5a50ee9 (patch) | |
tree | 4d9979603ddcdc302571fb849459714a054f84d8 | |
parent | 1afbf0c4e6d46920c5ae5c882d4dfdbdb3a33030 (diff) | |
download | idevicerestore-09a39c8adf140752d0b7de09c101f2b1e5a50ee9.tar.gz idevicerestore-09a39c8adf140752d0b7de09c101f2b1e5a50ee9.tar.bz2 |
idevicerestore: Fix compilation due to typo
-rw-r--r-- | src/idevicerestore.c | 6 |
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; |