diff options
Diffstat (limited to 'dev/iphoneinfo.c')
| -rw-r--r-- | dev/iphoneinfo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dev/iphoneinfo.c b/dev/iphoneinfo.c index 4995b9b..409ad2d 100644 --- a/dev/iphoneinfo.c +++ b/dev/iphoneinfo.c | |||
| @@ -62,7 +62,7 @@ int main(int argc, char *argv[]) | |||
| 62 | } | 62 | } |
| 63 | } | 63 | } |
| 64 | 64 | ||
| 65 | if (bus_n != -1) { | 65 | /* if (bus_n != -1) { |
| 66 | ret = iphone_get_specific_device(bus_n, dev_n, &phone); | 66 | ret = iphone_get_specific_device(bus_n, dev_n, &phone); |
| 67 | if (ret != IPHONE_E_SUCCESS) { | 67 | if (ret != IPHONE_E_SUCCESS) { |
| 68 | printf("No device found for usb bus %d and dev %d, is it plugged in?\n", bus_n, dev_n); | 68 | printf("No device found for usb bus %d and dev %d, is it plugged in?\n", bus_n, dev_n); |
| @@ -70,13 +70,13 @@ int main(int argc, char *argv[]) | |||
| 70 | } | 70 | } |
| 71 | } | 71 | } |
| 72 | else | 72 | else |
| 73 | { | 73 | {*/ |
| 74 | ret = iphone_get_device(&phone); | 74 | ret = iphone_get_device(&phone); |
| 75 | if (ret != IPHONE_E_SUCCESS) { | 75 | if (ret != IPHONE_E_SUCCESS) { |
| 76 | printf("No device found, is it plugged in?\n"); | 76 | printf("No device found, is it plugged in?\n"); |
| 77 | return -1; | 77 | return -1; |
| 78 | } | 78 | } |
| 79 | } | 79 | /* }*/ |
| 80 | 80 | ||
| 81 | if (IPHONE_E_SUCCESS != iphone_lckd_new_client(phone, &control)) { | 81 | if (IPHONE_E_SUCCESS != iphone_lckd_new_client(phone, &control)) { |
| 82 | iphone_free_device(phone); | 82 | iphone_free_device(phone); |
