summaryrefslogtreecommitdiffstats
path: root/src/initconf.c
diff options
context:
space:
mode:
authorGravatar Patrick Walton2008-10-17 22:58:50 -0700
committerGravatar Jonathan Beck2008-10-25 14:51:23 +0200
commitbbd813da84c1ff8484bbd3eb7f575775271424da (patch)
tree6ce51f659e09d45646f393d04eb13adeac8aed8f /src/initconf.c
parent37fff2713545f7d660097842acfeb67e6eb5026c (diff)
downloadlibimobiledevice-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/initconf.c')
-rw-r--r--src/initconf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/initconf.c b/src/initconf.c
index 412dd70..c8c6e84 100644
--- a/src/initconf.c
+++ b/src/initconf.c
@@ -29,7 +29,6 @@
29#include "userpref.h" 29#include "userpref.h"
30#include "lockdown.h" 30#include "lockdown.h"
31 31
32int debug = 1;
33 32
34/** Generates a 2048 byte key, split into a function so that it can be run in a 33/** Generates a 2048 byte key, split into a function so that it can be run in a
35 * thread. 34 * thread.
@@ -71,6 +70,8 @@ int main(int argc, char *argv[])
71 gnutls_x509_crt_t root_cert; 70 gnutls_x509_crt_t root_cert;
72 gnutls_x509_crt_t host_cert; 71 gnutls_x509_crt_t host_cert;
73 72
73 iphone_set_debug(1);
74
74 // Create the thread 75 // Create the thread
75 if (!g_thread_supported()) { 76 if (!g_thread_supported()) {
76 g_thread_init(NULL); 77 g_thread_init(NULL);