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/initconf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/initconf.c') 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 @@ #include "userpref.h" #include "lockdown.h" -int debug = 1; /** Generates a 2048 byte key, split into a function so that it can be run in a * thread. @@ -71,6 +70,8 @@ int main(int argc, char *argv[]) gnutls_x509_crt_t root_cert; gnutls_x509_crt_t host_cert; + iphone_set_debug(1); + // Create the thread if (!g_thread_supported()) { g_thread_init(NULL); -- cgit v1.1-32-gdbae