diff options
author | Patrick Walton | 2008-10-17 22:58:50 -0700 |
---|---|---|
committer | Jonathan Beck | 2008-10-25 14:51:23 +0200 |
commit | bbd813da84c1ff8484bbd3eb7f575775271424da (patch) | |
tree | 6ce51f659e09d45646f393d04eb13adeac8aed8f /src/lckdclient.c | |
parent | 37fff2713545f7d660097842acfeb67e6eb5026c (diff) | |
download | libimobiledevice-bbd813da84c1ff8484bbd3eb7f575775271424da.tar.gz libimobiledevice-bbd813da84c1ff8484bbd3eb7f575775271424da.tar.bz2 |
Change iphone_debug to be an API call
Change the iphone_debug to use the new API
Diffstat (limited to 'src/lckdclient.c')
-rw-r--r-- | src/lckdclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lckdclient.c b/src/lckdclient.c index 7a40c93..b3b9942 100644 --- a/src/lckdclient.c +++ b/src/lckdclient.c @@ -30,7 +30,6 @@ #include "iphone.h" #include <libiphone/libiphone.h> -int debug = 1; int main(int argc, char *argv[]) { @@ -38,6 +37,7 @@ int main(int argc, char *argv[]) iphone_lckd_client_t control = NULL; iphone_device_t phone = NULL; + iphone_set_debug(1); if (IPHONE_E_SUCCESS != iphone_get_device(&phone)) { printf("No iPhone found, is it plugged in?\n"); |