diff options
| author | 2013-11-04 22:53:43 +0100 | |
|---|---|---|
| committer | 2013-11-04 22:53:43 +0100 | |
| commit | 791b19338bb781e8a8b7f3fbb8e0a85af57f8d96 (patch) | |
| tree | 81180733f59b0c93e2c14f23cbbb5597e4219ca0 | |
| parent | 34870ec42b9a535efbe1d597022a47747412a64f (diff) | |
| download | usbmuxd-791b19338bb781e8a8b7f3fbb8e0a85af57f8d96.tar.gz usbmuxd-791b19338bb781e8a8b7f3fbb8e0a85af57f8d96.tar.bz2 | |
preflight: Add lockdownd prefix to name of set_untrusted_host_buid()
| -rw-r--r-- | src/preflight.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/preflight.c b/src/preflight.c index 832996b..28485db 100644 --- a/src/preflight.c +++ b/src/preflight.c | |||
| @@ -56,7 +56,7 @@ struct np_cb_data { | |||
| 56 | 56 | ||
| 57 | extern uint16_t userpref_remove_device_record(const char* udid); | 57 | extern uint16_t userpref_remove_device_record(const char* udid); |
| 58 | 58 | ||
| 59 | static void set_untrusted_host_buid(lockdownd_client_t lockdown) | 59 | static void lockdownd_set_untrusted_host_buid(lockdownd_client_t lockdown) |
| 60 | { | 60 | { |
| 61 | char* system_buid = NULL; | 61 | char* system_buid = NULL; |
| 62 | userpref_get_system_buid(&system_buid); | 62 | userpref_get_system_buid(&system_buid); |
| @@ -101,7 +101,7 @@ static void np_callback(const char* notification, void* userdata) | |||
| 101 | if (lerr != LOCKDOWN_E_SUCCESS) { | 101 | if (lerr != LOCKDOWN_E_SUCCESS) { |
| 102 | usbmuxd_log(LL_ERROR, "%s: ERROR: Could not connect to lockdownd on device %s, lockdown error %d", __func__, _dev->udid, lerr); | 102 | usbmuxd_log(LL_ERROR, "%s: ERROR: Could not connect to lockdownd on device %s, lockdown error %d", __func__, _dev->udid, lerr); |
| 103 | } else { | 103 | } else { |
| 104 | set_untrusted_host_buid(lockdown); | 104 | lockdownd_set_untrusted_host_buid(lockdown); |
| 105 | lockdownd_client_free(lockdown); | 105 | lockdownd_client_free(lockdown); |
| 106 | } | 106 | } |
| 107 | } | 107 | } |
| @@ -196,7 +196,7 @@ retry: | |||
| 196 | /* iOS 7.0 and later */ | 196 | /* iOS 7.0 and later */ |
| 197 | usbmuxd_log(LL_INFO, "%s: Found ProductVersion %s device %s", __func__, version_str, _dev->udid); | 197 | usbmuxd_log(LL_INFO, "%s: Found ProductVersion %s device %s", __func__, version_str, _dev->udid); |
| 198 | 198 | ||
| 199 | set_untrusted_host_buid(lockdown); | 199 | lockdownd_set_untrusted_host_buid(lockdown); |
| 200 | 200 | ||
| 201 | /* if not paired, trigger the trust dialog to make sure it appears */ | 201 | /* if not paired, trigger the trust dialog to make sure it appears */ |
| 202 | if (!is_device_paired) { | 202 | if (!is_device_paired) { |
