diff options
author | Ben Wagner | 2020-02-11 14:53:59 -0500 |
---|---|---|
committer | Nikias Bassen | 2022-03-29 12:11:18 +0200 |
commit | 8e29efecd01262236a22168cc17638a13412abf0 (patch) | |
tree | 963ce25a33e5adcbc9b64c7eae0cae7cc62d7653 | |
parent | 2f1e0660ef0a3dcfa35c8003b0806bae3acd411d (diff) | |
download | libimobiledevice-8e29efecd01262236a22168cc17638a13412abf0.tar.gz libimobiledevice-8e29efecd01262236a22168cc17638a13412abf0.tar.bz2 |
Fix compile
-rw-r--r-- | src/debugserver.c | 2 | ||||
-rw-r--r-- | tools/idevicedebug.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/debugserver.c b/src/debugserver.c index 20ffe01..4d653cf 100644 --- a/src/debugserver.c +++ b/src/debugserver.c @@ -167,7 +167,7 @@ LIBIMOBILEDEVICE_API debugserver_error_t debugserver_client_receive(debugserver_ debugserver_error_t res = DEBUGSERVER_E_UNKNOWN_ERROR; do { res = debugserver_client_receive_with_timeout(client, data, size, received, client->receive_loop_timeout); - while (res == DEBUGSERVER_E_TIMEOUT && client->cancel_receive != NULL && !client->cancel_receive()); + } while (res == DEBUGSERVER_E_TIMEOUT && client->cancel_receive != NULL && !client->cancel_receive()); return res; } diff --git a/tools/idevicedebug.c b/tools/idevicedebug.c index 4c1ca89..27eaa4e 100644 --- a/tools/idevicedebug.c +++ b/tools/idevicedebug.c @@ -493,7 +493,7 @@ int main(int argc, char *argv[]) goto cleanup; } - dres = debugserver_client_receive(debugserver_client, &response, NULL); + dres = debugserver_client_receive_response(debugserver_client, &response, NULL); } /* kill process after we finished */ |