diff options
author | Nikias Bassen | 2009-05-18 22:29:39 +0200 |
---|---|---|
committer | Matt Colyer | 2009-05-18 18:47:20 -0700 |
commit | 8eaac0513bfb238edec22d46320669f5c9c76542 (patch) | |
tree | 2db842339bf525d67017525bcbd3f4d35181e5ca /dev/iphoneinfo.c | |
parent | dca1758c4f9602fc240c6a7c9ae45839e154d15f (diff) | |
download | libimobiledevice-8eaac0513bfb238edec22d46320669f5c9c76542.tar.gz libimobiledevice-8eaac0513bfb238edec22d46320669f5c9c76542.tar.bz2 |
Make use of usbmuxd and remove libusb dependencies
Signed-off-by: Matt Colyer <matt@colyer.name>
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[]) } } - if (bus_n != -1) { +/* if (bus_n != -1) { ret = iphone_get_specific_device(bus_n, dev_n, &phone); if (ret != IPHONE_E_SUCCESS) { 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[]) } } else - { + {*/ ret = iphone_get_device(&phone); if (ret != IPHONE_E_SUCCESS) { printf("No device found, is it plugged in?\n"); return -1; } - } +/* }*/ if (IPHONE_E_SUCCESS != iphone_lckd_new_client(phone, &control)) { iphone_free_device(phone); |