summaryrefslogtreecommitdiffstats
path: root/dev
diff options
context:
space:
mode:
Diffstat (limited to 'dev')
-rw-r--r--dev/afccheck.c2
-rw-r--r--dev/iphoneclient.c2
-rw-r--r--dev/iphoneenterrecovery.c1
-rw-r--r--dev/msyncclient.c2
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[])
if (argc > 1 && !strcasecmp(argv[1], "--debug")) {
iphone_set_debug_level(1);
- iphone_set_debug_mask(DBGMASK_ALL);
} else {
iphone_set_debug_level(0);
- iphone_set_debug_mask(DBGMASK_NONE);
}
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[])
if (argc > 1 && !strcasecmp(argv[1], "--debug")) {
iphone_set_debug_level(1);
- iphone_set_debug_mask(DBGMASK_ALL);
} else {
iphone_set_debug_level(0);
- iphone_set_debug_mask(DBGMASK_NONE);
}
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[])
/* parse cmdline args */
for (i = 1; i < argc; i++) {
if (!strcmp(argv[i], "-d") || !strcmp(argv[i], "--debug")) {
- iphone_set_debug_mask(DBGMASK_ALL);
iphone_set_debug_level(1);
continue;
}
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[])
iphone_device_t phone = NULL;
if (argc > 1 && !strcasecmp(argv[1], "--debug"))
- iphone_set_debug_mask(DBGMASK_MOBILESYNC);
+ iphone_set_debug_level(1);
if (IPHONE_E_SUCCESS != iphone_device_new(&phone, NULL)) {
printf("No iPhone found, is it plugged in?\n");