diff options
| author | 2009-07-25 03:07:01 +0200 | |
|---|---|---|
| committer | 2009-07-25 03:07:01 +0200 | |
| commit | 1cfc2748d38eb97100cabced3b282108898099c2 (patch) | |
| tree | bed338cd9ade6ba6f2de902a7e185fab5ff0c91f /dev/syslog_relay.c | |
| parent | 5cb9ecc85240102402082c442d561d7350732027 (diff) | |
| download | libimobiledevice-1cfc2748d38eb97100cabced3b282108898099c2.tar.gz libimobiledevice-1cfc2748d38eb97100cabced3b282108898099c2.tar.bz2 | |
Rename iphone_get_device_handle to iphone_device_get_handle and update tools
Diffstat (limited to 'dev/syslog_relay.c')
| -rw-r--r-- | dev/syslog_relay.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dev/syslog_relay.c b/dev/syslog_relay.c index 58a2544..a096101 100644 --- a/dev/syslog_relay.c +++ b/dev/syslog_relay.c | |||
| @@ -52,6 +52,7 @@ int main(int argc, char *argv[]) | |||
| 52 | char uuid[41]; | 52 | char uuid[41]; |
| 53 | int port = 0; | 53 | int port = 0; |
| 54 | uuid[0] = 0; | 54 | uuid[0] = 0; |
| 55 | uint32_t handle = 0; | ||
| 55 | 56 | ||
| 56 | signal(SIGINT, clean_exit); | 57 | signal(SIGINT, clean_exit); |
| 57 | signal(SIGQUIT, clean_exit); | 58 | signal(SIGQUIT, clean_exit); |
| @@ -111,8 +112,8 @@ int main(int argc, char *argv[]) | |||
| 111 | lockdownd_client_free(client); | 112 | lockdownd_client_free(client); |
| 112 | 113 | ||
| 113 | /* connect to socket relay messages */ | 114 | /* connect to socket relay messages */ |
| 114 | 115 | iphone_device_get_handle(phone, &handle); | |
| 115 | int sfd = usbmuxd_connect(iphone_get_device_handle(phone), port); | 116 | int sfd = usbmuxd_connect(handle, port); |
| 116 | if (sfd < 0) { | 117 | if (sfd < 0) { |
| 117 | printf("ERROR: Could not open usbmux connection.\n"); | 118 | printf("ERROR: Could not open usbmux connection.\n"); |
| 118 | } else { | 119 | } else { |
