diff options
| author | 2010-01-12 17:53:55 +0100 | |
|---|---|---|
| committer | 2010-01-12 17:53:55 +0100 | |
| commit | bf3dc421b2b5ccfe2fcd3cd4ec1ef90f39599600 (patch) | |
| tree | 9108ac43b6fbbc45eb9ea4aed3a2234590aaf501 /tools | |
| parent | 3b57fa5d0ed2d8060233fa9604bd7f98a7d6cdab (diff) | |
| download | libimobiledevice-bf3dc421b2b5ccfe2fcd3cd4ec1ef90f39599600.tar.gz libimobiledevice-bf3dc421b2b5ccfe2fcd3cd4ec1ef90f39599600.tar.bz2 | |
Remove support for debug masks due to inconsistent use
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/iphone_id.c | 1 | ||||
| -rw-r--r-- | tools/iphoneinfo.c | 1 | ||||
| -rw-r--r-- | tools/iphonesyslog.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/tools/iphone_id.c b/tools/iphone_id.c index a293469..4a2c3af 100644 --- a/tools/iphone_id.c +++ b/tools/iphone_id.c | |||
| @@ -38,7 +38,6 @@ int main(int argc, char **argv) | |||
| 38 | /* parse cmdline args */ | 38 | /* parse cmdline args */ |
| 39 | for (i = 1; i < argc; i++) { | 39 | for (i = 1; i < argc; i++) { |
| 40 | if (!strcmp(argv[i], "-d") || !strcmp(argv[i], "--debug")) { | 40 | if (!strcmp(argv[i], "-d") || !strcmp(argv[i], "--debug")) { |
| 41 | iphone_set_debug_mask(DBGMASK_ALL); | ||
| 42 | iphone_set_debug_level(1); | 41 | iphone_set_debug_level(1); |
| 43 | continue; | 42 | continue; |
| 44 | } | 43 | } |
diff --git a/tools/iphoneinfo.c b/tools/iphoneinfo.c index a8fba5f..7c41033 100644 --- a/tools/iphoneinfo.c +++ b/tools/iphoneinfo.c | |||
| @@ -78,7 +78,6 @@ int main(int argc, char *argv[]) | |||
| 78 | /* parse cmdline args */ | 78 | /* parse cmdline args */ |
| 79 | for (i = 1; i < argc; i++) { | 79 | for (i = 1; i < argc; i++) { |
| 80 | if (!strcmp(argv[i], "-d") || !strcmp(argv[i], "--debug")) { | 80 | if (!strcmp(argv[i], "-d") || !strcmp(argv[i], "--debug")) { |
| 81 | iphone_set_debug_mask(DBGMASK_ALL); | ||
| 82 | iphone_set_debug_level(1); | 81 | iphone_set_debug_level(1); |
| 83 | continue; | 82 | continue; |
| 84 | } | 83 | } |
diff --git a/tools/iphonesyslog.c b/tools/iphonesyslog.c index 14a8223..195fc7c 100644 --- a/tools/iphonesyslog.c +++ b/tools/iphonesyslog.c | |||
| @@ -60,7 +60,6 @@ int main(int argc, char *argv[]) | |||
| 60 | /* parse cmdline args */ | 60 | /* parse cmdline args */ |
| 61 | for (i = 1; i < argc; i++) { | 61 | for (i = 1; i < argc; i++) { |
| 62 | if (!strcmp(argv[i], "-d") || !strcmp(argv[i], "--debug")) { | 62 | if (!strcmp(argv[i], "-d") || !strcmp(argv[i], "--debug")) { |
| 63 | iphone_set_debug_mask(DBGMASK_ALL); | ||
| 64 | iphone_set_debug_level(1); | 63 | iphone_set_debug_level(1); |
| 65 | continue; | 64 | continue; |
| 66 | } | 65 | } |
