diff options
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -37,11 +37,10 @@ | |||
| 37 | int debug = 1; | 37 | int debug = 1; |
| 38 | 38 | ||
| 39 | int main(int argc, char *argv[]) { | 39 | int 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; } |
