summaryrefslogtreecommitdiffstats
path: root/dev/ideviceclient.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2012-03-22 16:07:07 +0100
committerGravatar Martin Szulecki2012-03-22 16:07:07 +0100
commit7457346a7ad7dddc0188cd1cd6fc5920aabfe39a (patch)
tree4d9aa158fc2fb1e05d3349ca8a5ec22207a9a7e4 /dev/ideviceclient.c
parent0331050438d1bd5824237d13240a766a9b503b55 (diff)
downloadlibimobiledevice-7457346a7ad7dddc0188cd1cd6fc5920aabfe39a.tar.gz
libimobiledevice-7457346a7ad7dddc0188cd1cd6fc5920aabfe39a.tar.bz2
Mass replace UUID by UDID, which is the correct term for it
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);