diff options
| author | 2013-11-14 02:23:40 +0100 | |
|---|---|---|
| committer | 2013-11-14 02:23:40 +0100 | |
| commit | 5926dfdcb01f865f0bd0de35a33061b8942dfb31 (patch) | |
| tree | 5ebd8048474c8d4501ec9140d0af508d158d9a91 | |
| parent | 2eb90fedeb614e088b280603fa492b2989e55920 (diff) | |
| download | ideviceinstaller-5926dfdcb01f865f0bd0de35a33061b8942dfb31.tar.gz ideviceinstaller-5926dfdcb01f865f0bd0de35a33061b8942dfb31.tar.bz2 | |
Rename do_wait_when_needed() to better wait_for_operation_to_complete()
| -rw-r--r-- | src/ideviceinstaller.c | 6 |
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 | ||
| 237 | static void do_wait_when_needed() | 237 | static 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) { |
