diff options
Diffstat (limited to 'tools/iphone_id.c')
| -rw-r--r-- | tools/iphone_id.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/iphone_id.c b/tools/iphone_id.c index 80f22e1..4a2c3af 100644 --- a/tools/iphone_id.c +++ b/tools/iphone_id.c | |||
| @@ -38,7 +38,6 @@ int main(int argc, char **argv) | |||
| 38 | /* parse cmdline args */ | 38 | /* parse cmdline args */ |
| 39 | for (i = 1; i < argc; i++) { | 39 | for (i = 1; i < argc; i++) { |
| 40 | if (!strcmp(argv[i], "-d") || !strcmp(argv[i], "--debug")) { | 40 | if (!strcmp(argv[i], "-d") || !strcmp(argv[i], "--debug")) { |
| 41 | iphone_set_debug_mask(DBGMASK_ALL); | ||
| 42 | iphone_set_debug_level(1); | 41 | iphone_set_debug_level(1); |
| 43 | continue; | 42 | continue; |
| 44 | } | 43 | } |
| @@ -70,7 +69,7 @@ int main(int argc, char **argv) | |||
| 70 | return -2; | 69 | return -2; |
| 71 | } | 70 | } |
| 72 | 71 | ||
| 73 | if (LOCKDOWN_E_SUCCESS != lockdownd_client_new(phone, &client)) { | 72 | if (LOCKDOWN_E_SUCCESS != lockdownd_client_new(phone, &client, "iphone_id")) { |
| 74 | iphone_device_free(phone); | 73 | iphone_device_free(phone); |
| 75 | fprintf(stderr, "ERROR: Connecting to device failed!\n"); | 74 | fprintf(stderr, "ERROR: Connecting to device failed!\n"); |
| 76 | return -2; | 75 | return -2; |
