summaryrefslogtreecommitdiffstats
path: root/src/dfu.c
diff options
context:
space:
mode:
authorGravatar Joshua Hill2010-06-05 18:09:06 -0400
committerGravatar Joshua Hill2010-06-05 18:09:06 -0400
commit255b285d22056dde283d33511c14387ea92e28c0 (patch)
treec039506ad319c2ec81f5a0aeb5ac4737b10d9389 /src/dfu.c
parent5fe87e252c9c28a67277e21febb19027feb32372 (diff)
downloadidevicerestore-255b285d22056dde283d33511c14387ea92e28c0.tar.gz
idevicerestore-255b285d22056dde283d33511c14387ea92e28c0.tar.bz2
Changed the device type to a structure array for cleaner code and cross state access
Diffstat (limited to 'src/dfu.c')
-rw-r--r--src/dfu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dfu.c b/src/dfu.c
index 1a5a037..1b0e8e7 100644
--- a/src/dfu.c
+++ b/src/dfu.c
@@ -80,7 +80,7 @@ int dfu_enter_recovery(const char* ipsw, plist_t tss) {
return -1;
}
- idevicerestore_mode = RECOVERY_MODE;
+ idevicerestore_mode = MODE_RECOVERY;
irecv_close(dfu);
dfu = NULL;
return 0;