diff options
author | Martin Szulecki | 2009-07-24 17:46:30 +0200 |
---|---|---|
committer | Martin Szulecki | 2009-07-24 17:46:30 +0200 |
commit | 601e70e8ee757b769bdc10b16e108e846a1a0b93 (patch) | |
tree | 42f377a16f90da737bc68927845ffb9888805733 /dev | |
parent | f995c63e1bc56dd2d098a06f130d55334979f38f (diff) | |
download | libimobiledevice-601e70e8ee757b769bdc10b16e108e846a1a0b93.tar.gz libimobiledevice-601e70e8ee757b769bdc10b16e108e846a1a0b93.tar.bz2 |
Rename iphone_set_debug() to iphone_set_debug_level() and code using it
Diffstat (limited to 'dev')
-rw-r--r-- | dev/iphone_id.c | 2 | ||||
-rw-r--r-- | dev/iphoneinfo.c | 2 | ||||
-rw-r--r-- | dev/lckdclient.c | 2 | ||||
-rw-r--r-- | dev/main.c | 4 | ||||
-rw-r--r-- | dev/syslog_relay.c | 2 |
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"); @@ -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")) { |