summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2012-07-17 17:35:40 +0200
committerGravatar Nikias Bassen2012-07-17 17:35:40 +0200
commit4b51a7d805d55e4bc4b61c3587bfb18200162678 (patch)
tree5688f9051ad2d89a291f232dd21dce9d2ffe33a9 /src
parent463868bf64d5aee17df4254dc5a21f81ebc59ff8 (diff)
downloadidevicerestore-4b51a7d805d55e4bc4b61c3587bfb18200162678.tar.gz
idevicerestore-4b51a7d805d55e4bc4b61c3587bfb18200162678.tar.bz2
restore: Do not wait 15 useless seconds attempting to connect to a device
Diffstat (limited to 'src')
-rw-r--r--src/restore.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/restore.c b/src/restore.c
index 51000b1..fc02a2c 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -332,8 +332,6 @@ int restore_open_with_timeout(struct idevicerestore_client_t* client) {
restore_device_connected = 0;
- info("waiting for device...\n");
- sleep(15);
info("trying to connect...\n");
for (i = 0; i < attempts; i++) {
int num_devices = 0;