diff options
Diffstat (limited to 'dev')
| -rw-r--r-- | dev/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -28,6 +28,7 @@ | |||
| 28 | #include <libxml/tree.h> | 28 | #include <libxml/tree.h> |
| 29 | 29 | ||
| 30 | #include <libiphone/libiphone.h> | 30 | #include <libiphone/libiphone.h> |
| 31 | #include "../src/utils.h" | ||
| 31 | 32 | ||
| 32 | 33 | ||
| 33 | int main(int argc, char *argv[]) | 34 | int main(int argc, char *argv[]) |
| @@ -38,8 +39,10 @@ int main(int argc, char *argv[]) | |||
| 38 | 39 | ||
| 39 | if (argc > 1 && !strcasecmp(argv[1], "--debug")) { | 40 | if (argc > 1 && !strcasecmp(argv[1], "--debug")) { |
| 40 | iphone_set_debug(1); | 41 | iphone_set_debug(1); |
| 42 | iphone_set_debug_mask(DBGMASK_ALL); | ||
| 41 | } else { | 43 | } else { |
| 42 | iphone_set_debug(0); | 44 | iphone_set_debug(0); |
| 45 | iphone_set_debug_mask(DBGMASK_NONE); | ||
| 43 | } | 46 | } |
| 44 | 47 | ||
| 45 | if (IPHONE_E_SUCCESS != iphone_get_device(&phone)) { | 48 | if (IPHONE_E_SUCCESS != iphone_get_device(&phone)) { |
