From bbd813da84c1ff8484bbd3eb7f575775271424da Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Fri, 17 Oct 2008 22:58:50 -0700 Subject: Change iphone_debug to be an API call Change the iphone_debug to use the new API --- src/lckdclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lckdclient.c') 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 -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"); -- cgit v1.1-32-gdbae