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