From 5926dfdcb01f865f0bd0de35a33061b8942dfb31 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Thu, 14 Nov 2013 02:23:40 +0100 Subject: Rename do_wait_when_needed() to better wait_for_operation_to_complete() --- src/ideviceinstaller.c | 6 +++--- 1 file 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) { -- cgit v1.1-32-gdbae