diff options
| author | 2012-03-22 16:07:07 +0100 | |
|---|---|---|
| committer | 2012-03-22 16:07:07 +0100 | |
| commit | 7457346a7ad7dddc0188cd1cd6fc5920aabfe39a (patch) | |
| tree | 4d9aa158fc2fb1e05d3349ca8a5ec22207a9a7e4 /dev/lckdclient.c | |
| parent | 0331050438d1bd5824237d13240a766a9b503b55 (diff) | |
| download | libimobiledevice-7457346a7ad7dddc0188cd1cd6fc5920aabfe39a.tar.gz libimobiledevice-7457346a7ad7dddc0188cd1cd6fc5920aabfe39a.tar.bz2 | |
Mass replace UUID by UDID, which is the correct term for it
Diffstat (limited to 'dev/lckdclient.c')
| -rw-r--r-- | dev/lckdclient.c | 10 | 
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[])  		return -1;  	} -	char *uuid = NULL; -	if (IDEVICE_E_SUCCESS == idevice_get_uuid(phone, &uuid)) { -		printf("DeviceUniqueID : %s\n", uuid); +	char *udid = NULL; +	if (IDEVICE_E_SUCCESS == idevice_get_udid(phone, &udid)) { +		printf("DeviceUniqueID : %s\n", udid);  	} -	if (uuid) -		free(uuid); +	if (udid) +		free(udid);  	if (LOCKDOWN_E_SUCCESS != lockdownd_client_new_with_handshake(phone, &client, "lckdclient")) {  		idevice_free(phone); | 
