summaryrefslogtreecommitdiffstats
path: root/dev/iphoneenterrecovery.c
diff options
context:
space:
mode:
Diffstat (limited to 'dev/iphoneenterrecovery.c')
-rw-r--r--dev/iphoneenterrecovery.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dev/iphoneenterrecovery.c b/dev/iphoneenterrecovery.c
index 1d4d332..153df15 100644
--- a/dev/iphoneenterrecovery.c
+++ b/dev/iphoneenterrecovery.c
@@ -51,7 +51,6 @@ int main(int argc, char *argv[])
/* parse cmdline args */
for (i = 1; i < argc; i++) {
if (!strcmp(argv[i], "-d") || !strcmp(argv[i], "--debug")) {
- iphone_set_debug_mask(DBGMASK_ALL);
iphone_set_debug_level(1);
continue;
}
@@ -74,7 +73,7 @@ int main(int argc, char *argv[])
return -1;
}
- if (LOCKDOWN_E_SUCCESS != lockdownd_client_new(phone, &client)) {
+ if (LOCKDOWN_E_SUCCESS != lockdownd_client_new_with_handshake(phone, &client, "iphoneenterrecovery")) {
iphone_device_free(phone);
return -1;
}