diff options
author | Martin Szulecki | 2009-06-21 23:05:23 +0200 |
---|---|---|
committer | Martin Szulecki | 2009-06-21 23:05:23 +0200 |
commit | 773f5c797622bedbc2aed0ee8d8680e45a2807d2 (patch) | |
tree | c24953df6f03ce1a849befe6b48de7b1907b3ef8 /dev | |
parent | 0727ae7c72bf149bf5898c667933a27d44e94f7d (diff) | |
download | libimobiledevice-773f5c797622bedbc2aed0ee8d8680e45a2807d2.tar.gz libimobiledevice-773f5c797622bedbc2aed0ee8d8680e45a2807d2.tar.bz2 |
Silence warning and also dump iTunes format support information
Diffstat (limited to 'dev')
-rw-r--r-- | dev/iphoneinfo.c | 3 |
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 @@ #include <stdio.h> #include <string.h> #include <errno.h> +#include <stdlib.h> #include <libiphone/libiphone.h> @@ -43,6 +44,7 @@ int main(int argc, char *argv[]) for (i = 1; i < argc; i++) { if (!strcmp(argv[i], "-d") || !strcmp(argv[i], "--debug")) { iphone_set_debug_mask(DBGMASK_ALL); + iphone_set_debug(1); continue; } else if (!strcmp(argv[i], "-u") || !strcmp(argv[i], "--uuid")) { @@ -98,6 +100,7 @@ int main(int argc, char *argv[]) print_lckd_request_info(control, "com.apple.mobile.sync_data_class", "GetValue", NULL); print_lckd_request_info(control, "com.apple.iTunes", "GetValue", NULL); print_lckd_request_info(control, "com.apple.mobile.iTunes.store", "GetValue", NULL); + print_lckd_request_info(control, "com.apple.mobile.iTunes", "GetValue", NULL); iphone_lckd_free_client(control); iphone_free_device(phone); |