summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dev/iphoneinfo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev/iphoneinfo.c b/dev/iphoneinfo.c
index c28eb9e..cee8dff 100644
--- a/dev/iphoneinfo.c
+++ b/dev/iphoneinfo.c
@@ -22,6 +22,7 @@
22#include <stdio.h> 22#include <stdio.h>
23#include <string.h> 23#include <string.h>
24#include <errno.h> 24#include <errno.h>
25#include <stdlib.h>
25 26
26#include <libiphone/libiphone.h> 27#include <libiphone/libiphone.h>
27 28
@@ -43,6 +44,7 @@ int main(int argc, char *argv[])
43 for (i = 1; i < argc; i++) { 44 for (i = 1; i < argc; i++) {
44 if (!strcmp(argv[i], "-d") || !strcmp(argv[i], "--debug")) { 45 if (!strcmp(argv[i], "-d") || !strcmp(argv[i], "--debug")) {
45 iphone_set_debug_mask(DBGMASK_ALL); 46 iphone_set_debug_mask(DBGMASK_ALL);
47 iphone_set_debug(1);
46 continue; 48 continue;
47 } 49 }
48 else if (!strcmp(argv[i], "-u") || !strcmp(argv[i], "--uuid")) { 50 else if (!strcmp(argv[i], "-u") || !strcmp(argv[i], "--uuid")) {
@@ -98,6 +100,7 @@ int main(int argc, char *argv[])
98 print_lckd_request_info(control, "com.apple.mobile.sync_data_class", "GetValue", NULL); 100 print_lckd_request_info(control, "com.apple.mobile.sync_data_class", "GetValue", NULL);
99 print_lckd_request_info(control, "com.apple.iTunes", "GetValue", NULL); 101 print_lckd_request_info(control, "com.apple.iTunes", "GetValue", NULL);
100 print_lckd_request_info(control, "com.apple.mobile.iTunes.store", "GetValue", NULL); 102 print_lckd_request_info(control, "com.apple.mobile.iTunes.store", "GetValue", NULL);
103 print_lckd_request_info(control, "com.apple.mobile.iTunes", "GetValue", NULL);
101 104
102 iphone_lckd_free_client(control); 105 iphone_lckd_free_client(control);
103 iphone_free_device(phone); 106 iphone_free_device(phone);