Fix compile
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 @@
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 @@
goto cleanup;
}
- dres = debugserver_client_receive(debugserver_client, &response, NULL);
+ dres = debugserver_client_receive_response(debugserver_client, &response, NULL);
}
/* kill process after we finished */