diff options
Diffstat (limited to 'dev/iphoneenterrecovery.c')
| -rw-r--r-- | dev/iphoneenterrecovery.c | 3 |
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[]) | |||
| 51 | /* parse cmdline args */ | 51 | /* parse cmdline args */ |
| 52 | for (i = 1; i < argc; i++) { | 52 | for (i = 1; i < argc; i++) { |
| 53 | if (!strcmp(argv[i], "-d") || !strcmp(argv[i], "--debug")) { | 53 | if (!strcmp(argv[i], "-d") || !strcmp(argv[i], "--debug")) { |
| 54 | iphone_set_debug_mask(DBGMASK_ALL); | ||
| 55 | iphone_set_debug_level(1); | 54 | iphone_set_debug_level(1); |
| 56 | continue; | 55 | continue; |
| 57 | } | 56 | } |
| @@ -74,7 +73,7 @@ int main(int argc, char *argv[]) | |||
| 74 | return -1; | 73 | return -1; |
| 75 | } | 74 | } |
| 76 | 75 | ||
| 77 | if (LOCKDOWN_E_SUCCESS != lockdownd_client_new(phone, &client)) { | 76 | if (LOCKDOWN_E_SUCCESS != lockdownd_client_new_with_handshake(phone, &client, "iphoneenterrecovery")) { |
| 78 | iphone_device_free(phone); | 77 | iphone_device_free(phone); |
| 79 | return -1; | 78 | return -1; |
| 80 | } | 79 | } |
