diff options
| author | 2009-08-20 01:19:09 +0200 | |
|---|---|---|
| committer | 2009-08-21 03:08:18 +0200 | |
| commit | c46062aca98f2f077b3bab5c5f72ff2cb57b9dc2 (patch) | |
| tree | 0934caaa277436a42c515c9ccc86acb004620c7a /tools | |
| parent | 886d4014509d64023ecf99b57d0fd39818e85bd4 (diff) | |
| download | usbmuxd-c46062aca98f2f077b3bab5c5f72ff2cb57b9dc2.tar.gz usbmuxd-c46062aca98f2f077b3bab5c5f72ff2cb57b9dc2.tar.bz2 | |
Updated usbmuxd protocol definition and public header.
[Hector] Merged by putting utils.c into a common dir,
avoiding log.c dependency for libusbmuxd, adding CMake
magic to tie things up.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/iproxy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/iproxy.c b/tools/iproxy.c index 3cb2894..657ac89 100644 --- a/tools/iproxy.c +++ b/tools/iproxy.c | |||
| @@ -141,7 +141,7 @@ void *run_ctos_loop(void *arg) | |||
| 141 | void *acceptor_thread(void *arg) | 141 | void *acceptor_thread(void *arg) |
| 142 | { | 142 | { |
| 143 | struct client_data *cdata; | 143 | struct client_data *cdata; |
| 144 | usbmuxd_scan_result *dev_list = NULL; | 144 | usbmuxd_device_info_t *dev_list = NULL; |
| 145 | pthread_t ctos; | 145 | pthread_t ctos; |
| 146 | int count; | 146 | int count; |
| 147 | 147 | ||
| @@ -166,7 +166,7 @@ void *acceptor_thread(void *arg) | |||
| 166 | return NULL; | 166 | return NULL; |
| 167 | } | 167 | } |
| 168 | 168 | ||
| 169 | fprintf(stdout, "Requesting connecion to device handle == %d (serial: %s), port %d\n", dev_list[0].handle, dev_list[0].serial_number, device_port); | 169 | fprintf(stdout, "Requesting connecion to device handle == %d (serial: %s), port %d\n", dev_list[0].handle, dev_list[0].uuid, device_port); |
| 170 | 170 | ||
| 171 | cdata->sfd = usbmuxd_connect(dev_list[0].handle, device_port); | 171 | cdata->sfd = usbmuxd_connect(dev_list[0].handle, device_port); |
| 172 | free(dev_list); | 172 | free(dev_list); |
