summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/debugserver.c2
-rw-r--r--tools/idevicedebug.c2
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 */