diff options
author | pod2g | 2010-12-28 22:56:16 +0100 |
---|---|---|
committer | pod2g | 2010-12-28 22:56:16 +0100 |
commit | f36be3da06a2175f49ed2b987b684fdf66871b58 (patch) | |
tree | 998a5468298b6ebe3dc316681df19a60769d1327 /irecovery.c | |
parent | 9440393948de8d8db43f29f3bc859d9968085f15 (diff) | |
download | libirecovery-f36be3da06a2175f49ed2b987b684fdf66871b58.tar.gz libirecovery-f36be3da06a2175f49ed2b987b684fdf66871b58.tar.bz2 |
MacOSX test: Console reading fixed
Diffstat (limited to 'irecovery.c')
-rw-r--r-- | irecovery.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/irecovery.c b/irecovery.c index 39ac425..3e32395 100644 --- a/irecovery.c +++ b/irecovery.c @@ -277,6 +277,9 @@ int main(int argc, char* argv[]) { } } + if (verbose) irecv_set_debug_level(verbose); + + irecv_init(); irecv_client_t client = NULL; for (i = 0; i <= 5; i++) { debug("Attempting to connect... \n"); @@ -291,8 +294,6 @@ int main(int argc, char* argv[]) { } } - if (verbose) irecv_set_debug_level(verbose); - switch (action) { case kResetDevice: irecv_reset(client); |