summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/irecovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/irecovery.c b/tools/irecovery.c
index f398ec1..8e2138c 100644
--- a/tools/irecovery.c
+++ b/tools/irecovery.c
@@ -334,7 +334,7 @@ int main(int argc, char* argv[]) {
334 for (i = 0; i <= 5; i++) { 334 for (i = 0; i <= 5; i++) {
335 debug("Attempting to connect... \n"); 335 debug("Attempting to connect... \n");
336 336
337 if (irecv_open(&client, ecid) != IRECV_E_SUCCESS) 337 if (irecv_open_with_ecid(&client, ecid) != IRECV_E_SUCCESS)
338 sleep(1); 338 sleep(1);
339 else 339 else
340 break; 340 break;