diff options
Diffstat (limited to 'dev/ideviceclient.c')
-rw-r--r-- | dev/ideviceclient.c | 10 |
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[]) 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, "ideviceclient")) { idevice_free(phone); |