diff options
author | Martin Szulecki | 2013-09-19 21:47:44 +0200 |
---|---|---|
committer | Martin Szulecki | 2013-09-19 21:47:44 +0200 |
commit | 7de9ac3ed900701fd2fafb2e0c006b56f18672d7 (patch) | |
tree | bbf7c0bd28b387c39362ce961017ff04e2b4a48b /src/preflight.c | |
parent | 130d1ca4d5d99ef4a470e90db64116a0de55b43e (diff) | |
download | usbmuxd-7de9ac3ed900701fd2fafb2e0c006b56f18672d7.tar.gz usbmuxd-7de9ac3ed900701fd2fafb2e0c006b56f18672d7.tar.bz2 |
preflight: Use userpref_get_system_buid() instead of hardcoded path
Diffstat (limited to 'src/preflight.c')
-rw-r--r-- | src/preflight.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/preflight.c b/src/preflight.c index ec510ec..17748c6 100644 --- a/src/preflight.c +++ b/src/preflight.c @@ -49,8 +49,6 @@ struct idevice_private { void *conn_data; }; -extern void userpref_get_system_buid(char **systembuid); - struct np_cb_data { idevice_t dev; np_client_t np; @@ -194,9 +192,9 @@ static void* preflight_worker_handle_device_add(void* userdata) struct np_cb_data cbdata; cbdata.dev = dev; cbdata.np = np; - + np_set_notify_callback(np, np_callback, (void*)&cbdata); - + const char* spec[] = { "com.apple.mobile.lockdown.request_pair", "com.apple.mobile.lockdown.request_host_buid", |