summaryrefslogtreecommitdiffstats
path: root/dev/lckdclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'dev/lckdclient.c')
-rw-r--r--dev/lckdclient.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/dev/lckdclient.c b/dev/lckdclient.c
index 820d05f..9518a6e 100644
--- a/dev/lckdclient.c
+++ b/dev/lckdclient.c
@@ -41,17 +41,18 @@ int main(int argc, char *argv[])
41 return -1; 41 return -1;
42 } 42 }
43 43
44 char *uuid = NULL;
45 if (IPHONE_E_SUCCESS == iphone_device_get_uuid(phone, &uuid)) {
46 printf("DeviceUniqueID : %s\n", uuid);
47 }
48 if (uuid)
49 free(uuid);
50
44 if (IPHONE_E_SUCCESS != lockdownd_new_client(phone, &client)) { 51 if (IPHONE_E_SUCCESS != lockdownd_new_client(phone, &client)) {
45 iphone_free_device(phone); 52 iphone_free_device(phone);
46 return -1; 53 return -1;
47 } 54 }
48 55
49 char *uid = NULL;
50 if (IPHONE_E_SUCCESS == lockdownd_get_device_uid(client, &uid)) {
51 printf("DeviceUniqueID : %s\n", uid);
52 free(uid);
53 }
54
55 using_history(); 56 using_history();
56 int loop = TRUE; 57 int loop = TRUE;
57 while (loop) { 58 while (loop) {