summaryrefslogtreecommitdiffstats
path: root/src/dfu.c
diff options
context:
space:
mode:
authorGravatar Joshua Hill2010-06-06 06:09:06 +0800
committerGravatar rcg4u2010-06-09 17:17:29 +0800
commit9279f889d7e296880fd7ea9d6c7cec499db62ea4 (patch)
treec039506ad319c2ec81f5a0aeb5ac4737b10d9389 /src/dfu.c
parentc21f7031b44e4cd61c1a6e630f9681742923ffa0 (diff)
downloadidevicerestore-9279f889d7e296880fd7ea9d6c7cec499db62ea4.tar.gz
idevicerestore-9279f889d7e296880fd7ea9d6c7cec499db62ea4.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;