diff options
| author | 2009-08-20 01:19:09 +0200 | |
|---|---|---|
| committer | 2009-08-21 03:08:18 +0200 | |
| commit | c46062aca98f2f077b3bab5c5f72ff2cb57b9dc2 (patch) | |
| tree | 0934caaa277436a42c515c9ccc86acb004620c7a /tools/iproxy.c | |
| 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/iproxy.c')
| -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)  void *acceptor_thread(void *arg)  {      struct client_data *cdata; -    usbmuxd_scan_result *dev_list = NULL; +    usbmuxd_device_info_t *dev_list = NULL;      pthread_t ctos;      int count; @@ -166,7 +166,7 @@ void *acceptor_thread(void *arg)  	return NULL;      } -    fprintf(stdout, "Requesting connecion to device handle == %d (serial: %s), port %d\n", dev_list[0].handle, dev_list[0].serial_number, device_port); +    fprintf(stdout, "Requesting connecion to device handle == %d (serial: %s), port %d\n", dev_list[0].handle, dev_list[0].uuid, device_port);      cdata->sfd = usbmuxd_connect(dev_list[0].handle, device_port);      free(dev_list); | 
