summaryrefslogtreecommitdiffstats
path: root/dev/lckdclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'dev/lckdclient.c')
-rw-r--r--dev/lckdclient.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/dev/lckdclient.c b/dev/lckdclient.c
index 5ca72f8..cc89634 100644
--- a/dev/lckdclient.c
+++ b/dev/lckdclient.c
@@ -88,12 +88,12 @@ int main(int argc, char *argv[])
88 return -1; 88 return -1;
89 } 89 }
90 90
91 char *uuid = NULL; 91 char *udid = NULL;
92 if (IDEVICE_E_SUCCESS == idevice_get_uuid(phone, &uuid)) { 92 if (IDEVICE_E_SUCCESS == idevice_get_udid(phone, &udid)) {
93 printf("DeviceUniqueID : %s\n", uuid); 93 printf("DeviceUniqueID : %s\n", udid);
94 } 94 }
95 if (uuid) 95 if (udid)
96 free(uuid); 96 free(udid);
97 97
98 if (LOCKDOWN_E_SUCCESS != lockdownd_client_new_with_handshake(phone, &client, "lckdclient")) { 98 if (LOCKDOWN_E_SUCCESS != lockdownd_client_new_with_handshake(phone, &client, "lckdclient")) {
99 idevice_free(phone); 99 idevice_free(phone);