diff options
author | Martin Szulecki | 2010-07-09 16:37:57 +0200 |
---|---|---|
committer | Martin Szulecki | 2010-07-09 16:37:57 +0200 |
commit | 515f26d28667b4790a4c1db1126f68b015ed1bce (patch) | |
tree | f97c186e1ee86e699c3ca798ac555400a1e284fe /src | |
parent | f05bbae5f00c57f3d08936159212d3e20678a8d6 (diff) | |
download | idevicerestore-515f26d28667b4790a4c1db1126f68b015ed1bce.tar.gz idevicerestore-515f26d28667b4790a4c1db1126f68b015ed1bce.tar.bz2 |
Fix idevice handle being NULL which leads to failure to connect to ASR
Diffstat (limited to 'src')
-rw-r--r-- | src/restore.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/restore.c b/src/restore.c index 44dc2aa..e4652bf 100644 --- a/src/restore.c +++ b/src/restore.c @@ -606,6 +606,7 @@ int restore_device(struct idevicerestore_client_t* client, plist_t build_identit info("Device has successfully entered restore mode\n"); restore = client->restore->client; + device = client->restore->device; // start the restore process restore_error = restored_start_restore(restore); |