diff options
Diffstat (limited to 'dev')
| -rw-r--r-- | dev/afccheck.c | 2 | ||||
| -rw-r--r-- | dev/iphoneclient.c | 2 | ||||
| -rw-r--r-- | dev/iphoneenterrecovery.c | 1 | ||||
| -rw-r--r-- | dev/msyncclient.c | 2 |
4 files changed, 1 insertions, 6 deletions
diff --git a/dev/afccheck.c b/dev/afccheck.c index 7a17a31..8e11b8a 100644 --- a/dev/afccheck.c +++ b/dev/afccheck.c | |||
| @@ -98,10 +98,8 @@ int main(int argc, char *argv[]) | |||
| 98 | 98 | ||
| 99 | if (argc > 1 && !strcasecmp(argv[1], "--debug")) { | 99 | if (argc > 1 && !strcasecmp(argv[1], "--debug")) { |
| 100 | iphone_set_debug_level(1); | 100 | iphone_set_debug_level(1); |
| 101 | iphone_set_debug_mask(DBGMASK_ALL); | ||
| 102 | } else { | 101 | } else { |
| 103 | iphone_set_debug_level(0); | 102 | iphone_set_debug_level(0); |
| 104 | iphone_set_debug_mask(DBGMASK_NONE); | ||
| 105 | } | 103 | } |
| 106 | 104 | ||
| 107 | if (IPHONE_E_SUCCESS != iphone_device_new(&phone, NULL)) { | 105 | if (IPHONE_E_SUCCESS != iphone_device_new(&phone, NULL)) { |
diff --git a/dev/iphoneclient.c b/dev/iphoneclient.c index dbdf0f1..eaced60 100644 --- a/dev/iphoneclient.c +++ b/dev/iphoneclient.c | |||
| @@ -68,10 +68,8 @@ int main(int argc, char *argv[]) | |||
| 68 | 68 | ||
| 69 | if (argc > 1 && !strcasecmp(argv[1], "--debug")) { | 69 | if (argc > 1 && !strcasecmp(argv[1], "--debug")) { |
| 70 | iphone_set_debug_level(1); | 70 | iphone_set_debug_level(1); |
| 71 | iphone_set_debug_mask(DBGMASK_ALL); | ||
| 72 | } else { | 71 | } else { |
| 73 | iphone_set_debug_level(0); | 72 | iphone_set_debug_level(0); |
| 74 | iphone_set_debug_mask(DBGMASK_NONE); | ||
| 75 | } | 73 | } |
| 76 | 74 | ||
| 77 | if (IPHONE_E_SUCCESS != iphone_device_new(&phone, NULL)) { | 75 | if (IPHONE_E_SUCCESS != iphone_device_new(&phone, NULL)) { |
diff --git a/dev/iphoneenterrecovery.c b/dev/iphoneenterrecovery.c index cab41f8..153df15 100644 --- a/dev/iphoneenterrecovery.c +++ b/dev/iphoneenterrecovery.c | |||
| @@ -51,7 +51,6 @@ int main(int argc, char *argv[]) | |||
| 51 | /* parse cmdline args */ | 51 | /* parse cmdline args */ |
| 52 | for (i = 1; i < argc; i++) { | 52 | for (i = 1; i < argc; i++) { |
| 53 | if (!strcmp(argv[i], "-d") || !strcmp(argv[i], "--debug")) { | 53 | if (!strcmp(argv[i], "-d") || !strcmp(argv[i], "--debug")) { |
| 54 | iphone_set_debug_mask(DBGMASK_ALL); | ||
| 55 | iphone_set_debug_level(1); | 54 | iphone_set_debug_level(1); |
| 56 | continue; | 55 | continue; |
| 57 | } | 56 | } |
diff --git a/dev/msyncclient.c b/dev/msyncclient.c index 6e40390..6134649 100644 --- a/dev/msyncclient.c +++ b/dev/msyncclient.c | |||
| @@ -146,7 +146,7 @@ int main(int argc, char *argv[]) | |||
| 146 | iphone_device_t phone = NULL; | 146 | iphone_device_t phone = NULL; |
| 147 | 147 | ||
| 148 | if (argc > 1 && !strcasecmp(argv[1], "--debug")) | 148 | if (argc > 1 && !strcasecmp(argv[1], "--debug")) |
| 149 | iphone_set_debug_mask(DBGMASK_MOBILESYNC); | 149 | iphone_set_debug_level(1); |
| 150 | 150 | ||
| 151 | if (IPHONE_E_SUCCESS != iphone_device_new(&phone, NULL)) { | 151 | if (IPHONE_E_SUCCESS != iphone_device_new(&phone, NULL)) { |
| 152 | printf("No iPhone found, is it plugged in?\n"); | 152 | printf("No iPhone found, is it plugged in?\n"); |
