summaryrefslogtreecommitdiffstats
path: root/src/preflight.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-11-04 22:53:43 +0100
committerGravatar Martin Szulecki2013-11-04 22:53:43 +0100
commit791b19338bb781e8a8b7f3fbb8e0a85af57f8d96 (patch)
tree81180733f59b0c93e2c14f23cbbb5597e4219ca0 /src/preflight.c
parent34870ec42b9a535efbe1d597022a47747412a64f (diff)
downloadusbmuxd-791b19338bb781e8a8b7f3fbb8e0a85af57f8d96.tar.gz
usbmuxd-791b19338bb781e8a8b7f3fbb8e0a85af57f8d96.tar.bz2
preflight: Add lockdownd prefix to name of set_untrusted_host_buid()
Diffstat (limited to 'src/preflight.c')
-rw-r--r--src/preflight.c6
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 {
extern uint16_t userpref_remove_device_record(const char* udid);
-static void set_untrusted_host_buid(lockdownd_client_t lockdown)
+static void lockdownd_set_untrusted_host_buid(lockdownd_client_t lockdown)
{
char* system_buid = NULL;
userpref_get_system_buid(&system_buid);
@@ -101,7 +101,7 @@ static void np_callback(const char* notification, void* userdata)
if (lerr != LOCKDOWN_E_SUCCESS) {
usbmuxd_log(LL_ERROR, "%s: ERROR: Could not connect to lockdownd on device %s, lockdown error %d", __func__, _dev->udid, lerr);
} else {
- set_untrusted_host_buid(lockdown);
+ lockdownd_set_untrusted_host_buid(lockdown);
lockdownd_client_free(lockdown);
}
}
@@ -196,7 +196,7 @@ retry:
/* iOS 7.0 and later */
usbmuxd_log(LL_INFO, "%s: Found ProductVersion %s device %s", __func__, version_str, _dev->udid);
- set_untrusted_host_buid(lockdown);
+ lockdownd_set_untrusted_host_buid(lockdown);
/* if not paired, trigger the trust dialog to make sure it appears */
if (!is_device_paired) {