summaryrefslogtreecommitdiffstats
path: root/dev
diff options
context:
space:
mode:
Diffstat (limited to 'dev')
-rw-r--r--dev/iphone_id.c2
-rw-r--r--dev/iphoneinfo.c2
-rw-r--r--dev/lckdclient.c2
-rw-r--r--dev/main.c4
-rw-r--r--dev/syslog_relay.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/dev/iphone_id.c b/dev/iphone_id.c
index 15081f0..dde15bc 100644
--- a/dev/iphone_id.c
+++ b/dev/iphone_id.c
@@ -60,7 +60,7 @@ int main(int argc, char **argv)
return 0;
}
- iphone_set_debug(0);
+ iphone_set_debug_level(0);
iphone_get_device_by_uuid(&phone, argv[0]);
if (!phone) {
diff --git a/dev/iphoneinfo.c b/dev/iphoneinfo.c
index 67e7552..02b62d5 100644
--- a/dev/iphoneinfo.c
+++ b/dev/iphoneinfo.c
@@ -73,7 +73,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);
+ iphone_set_debug_level(1);
continue;
}
else if (!strcmp(argv[i], "-u") || !strcmp(argv[i], "--uuid")) {
diff --git a/dev/lckdclient.c b/dev/lckdclient.c
index e7ad962..820d05f 100644
--- a/dev/lckdclient.c
+++ b/dev/lckdclient.c
@@ -34,7 +34,7 @@ int main(int argc, char *argv[])
lockdownd_client_t client = NULL;
iphone_device_t phone = NULL;
- iphone_set_debug(1);
+ iphone_set_debug_level(1);
if (IPHONE_E_SUCCESS != iphone_get_device(&phone)) {
printf("No iPhone found, is it plugged in?\n");
diff --git a/dev/main.c b/dev/main.c
index b4e5c34..9c8b155 100644
--- a/dev/main.c
+++ b/dev/main.c
@@ -68,10 +68,10 @@ int main(int argc, char *argv[])
np_client_t gnp = NULL;
if (argc > 1 && !strcasecmp(argv[1], "--debug")) {
- iphone_set_debug(1);
+ iphone_set_debug_level(1);
iphone_set_debug_mask(DBGMASK_ALL);
} else {
- iphone_set_debug(0);
+ iphone_set_debug_level(0);
iphone_set_debug_mask(DBGMASK_NONE);
}
diff --git a/dev/syslog_relay.c b/dev/syslog_relay.c
index a93e85b..09be6b8 100644
--- a/dev/syslog_relay.c
+++ b/dev/syslog_relay.c
@@ -62,7 +62,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);
+ iphone_set_debug_level(1);
continue;
}
else if (!strcmp(argv[i], "-u") || !strcmp(argv[i], "--uuid")) {