summaryrefslogtreecommitdiffstats
path: root/src/normal.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2012-02-02 03:49:38 +0100
committerGravatar Nikias Bassen2012-02-02 03:49:38 +0100
commit78416a40c8d9b6e54c345959d0afdaa17e245472 (patch)
tree66b84d9e22b7b4c6e86639606e654d2f890094f9 /src/normal.c
parent7375f8552d78ed501800fe0cbcfe2b03d069ad8b (diff)
downloadidevicerestore-78416a40c8d9b6e54c345959d0afdaa17e245472.tar.gz
idevicerestore-78416a40c8d9b6e54c345959d0afdaa17e245472.tar.bz2
recovery: merge recovery_open_with_timeout into recovery_client_new
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c
index 509ed93..97cb0c1 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -260,7 +260,7 @@ int normal_enter_recovery(struct idevicerestore_client_t* client) {
lockdown = NULL;
device = NULL;
- if (recovery_open_with_timeout(client) < 0) {
+ if (recovery_client_new(client) < 0) {
error("ERROR: Unable to enter recovery mode\n");
return -1;
}