summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 91bb48c..302b886 100644
--- a/src/main.c
+++ b/src/main.c
@@ -37,11 +37,10 @@
37int debug = 1; 37int debug = 1;
38 38
39int main(int argc, char *argv[]) { 39int main(int argc, char *argv[]) {
40 char* host_id = NULL; 40 /* char* host_id = NULL; */
41 iPhone *phone = get_iPhone(); 41 iPhone *phone = get_iPhone();
42 if (argc > 1 && !strcasecmp(argv[1], "--debug")) debug = 1; 42 if (argc > 1 && !strcasecmp(argv[1], "--debug")) debug = 1;
43 else debug = 0; 43 else debug = 0;
44 char *response = (char*)malloc(sizeof(char) * 2048);
45 int bytes = 0, port = 0, i = 0; 44 int bytes = 0, port = 0, i = 0;
46 if (phone) printf("I got a phone.\n"); 45 if (phone) printf("I got a phone.\n");
47 else { printf("oops\n"); return -1; } 46 else { printf("oops\n"); return -1; }