diff options
author | Martin Szulecki | 2009-06-21 23:05:23 +0200 |
---|---|---|
committer | Matt Colyer | 2009-06-29 19:31:01 -0700 |
commit | 5b99c2fc482bc5449c14b0faa969496e4c875787 (patch) | |
tree | 24d2698ba1b06e9a7ee30aa87203eda774ccfd5c | |
parent | 4f47cf301238755327f3990d98fcd4c8e765612b (diff) | |
download | libimobiledevice-5b99c2fc482bc5449c14b0faa969496e4c875787.tar.gz libimobiledevice-5b99c2fc482bc5449c14b0faa969496e4c875787.tar.bz2 |
Silence warning and also dump iTunes format support information
-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); |