summaryrefslogtreecommitdiffstats
path: root/tools/irecovery.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/irecovery.c')
-rw-r--r--tools/irecovery.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/irecovery.c b/tools/irecovery.c
index 280be7a..c901633 100644
--- a/tools/irecovery.c
+++ b/tools/irecovery.c
@@ -2,7 +2,7 @@
2 * irecovery.c 2 * irecovery.c
3 * Software frontend for iBoot/iBSS communication with iOS devices 3 * Software frontend for iBoot/iBSS communication with iOS devices
4 * 4 *
5 * Copyright (c) 2012-2017 Nikias Bassen 5 * Copyright (c) 2012-2019 Nikias Bassen <nikias@gmx.li>
6 * Copyright (c) 2012-2015 Martin Szulecki <martin.szulecki@libimobiledevice.org> 6 * Copyright (c) 2012-2015 Martin Szulecki <martin.szulecki@libimobiledevice.org>
7 * Copyright (c) 2010-2011 Chronic-Dev Team 7 * Copyright (c) 2010-2011 Chronic-Dev Team
8 * Copyright (c) 2010-2011 Joshua Hill 8 * Copyright (c) 2010-2011 Joshua Hill
@@ -454,7 +454,6 @@ int main(int argc, char* argv[]) {
454 if (verbose) 454 if (verbose)
455 irecv_set_debug_level(verbose); 455 irecv_set_debug_level(verbose);
456 456
457 irecv_init();
458 irecv_client_t client = NULL; 457 irecv_client_t client = NULL;
459 for (i = 0; i <= 5; i++) { 458 for (i = 0; i <= 5; i++) {
460 debug("Attempting to connect... \n"); 459 debug("Attempting to connect... \n");
@@ -565,7 +564,6 @@ int main(int argc, char* argv[]) {
565 } 564 }
566 565
567 irecv_close(client); 566 irecv_close(client);
568 irecv_exit();
569 567
570 return 0; 568 return 0;
571} 569}