summaryrefslogtreecommitdiffstats
path: root/src/ideviceinstaller.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-11-14 02:23:40 +0100
committerGravatar Martin Szulecki2013-11-14 02:23:40 +0100
commit5926dfdcb01f865f0bd0de35a33061b8942dfb31 (patch)
tree5ebd8048474c8d4501ec9140d0af508d158d9a91 /src/ideviceinstaller.c
parent2eb90fedeb614e088b280603fa492b2989e55920 (diff)
downloadideviceinstaller-5926dfdcb01f865f0bd0de35a33061b8942dfb31.tar.gz
ideviceinstaller-5926dfdcb01f865f0bd0de35a33061b8942dfb31.tar.bz2
Rename do_wait_when_needed() to better wait_for_operation_to_complete()
Diffstat (limited to 'src/ideviceinstaller.c')
-rw-r--r--src/ideviceinstaller.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ideviceinstaller.c b/src/ideviceinstaller.c
index 671b6fb..bb28407 100644
--- a/src/ideviceinstaller.c
+++ b/src/ideviceinstaller.c
@@ -234,7 +234,7 @@ static int zip_get_app_directory(struct zip* zf, char** path)
return 0;
}
-static void do_wait_when_needed()
+static void idevice_wait_for_operation_to_complete()
{
int i = 0;
struct timespec ts;
@@ -1146,7 +1146,7 @@ run_again:
notification_expected = 1;
}
- do_wait_when_needed();
+ idevice_wait_for_operation_to_complete();
if (copy_path) {
if (err_occured) {
@@ -1298,7 +1298,7 @@ run_again:
client = NULL;
}
- do_wait_when_needed();
+ idevice_wait_for_operation_to_complete();
leave_cleanup:
if (np) {