summaryrefslogtreecommitdiffstats
path: root/tools/iproxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/iproxy.c')
-rw-r--r--tools/iproxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/iproxy.c b/tools/iproxy.c
index f10d701..094ae75 100644
--- a/tools/iproxy.c
+++ b/tools/iproxy.c
@@ -153,7 +153,7 @@ void *acceptor_thread(void *arg)
cdata = (struct client_data*)arg;
- if ((count = usbmuxd_scan(&dev_list)) < 0) {
+ if ((count = usbmuxd_get_device_list(&dev_list)) < 0) {
printf("Connecting to usbmuxd failed, terminating.\n");
free(dev_list);
return NULL;