summaryrefslogtreecommitdiffstats
path: root/src/ideviceinstaller.c
diff options
context:
space:
mode:
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)
234 return 0; 234 return 0;
235} 235}
236 236
237static void do_wait_when_needed() 237static void idevice_wait_for_operation_to_complete()
238{ 238{
239 int i = 0; 239 int i = 0;
240 struct timespec ts; 240 struct timespec ts;
@@ -1146,7 +1146,7 @@ run_again:
1146 notification_expected = 1; 1146 notification_expected = 1;
1147 } 1147 }
1148 1148
1149 do_wait_when_needed(); 1149 idevice_wait_for_operation_to_complete();
1150 1150
1151 if (copy_path) { 1151 if (copy_path) {
1152 if (err_occured) { 1152 if (err_occured) {
@@ -1298,7 +1298,7 @@ run_again:
1298 client = NULL; 1298 client = NULL;
1299 } 1299 }
1300 1300
1301 do_wait_when_needed(); 1301 idevice_wait_for_operation_to_complete();
1302 1302
1303 leave_cleanup: 1303 leave_cleanup:
1304 if (np) { 1304 if (np) {