summaryrefslogtreecommitdiffstats
path: root/src/lckdclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lckdclient.c')
-rw-r--r--src/lckdclient.c2
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");