diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/debugserver.c | 2 |
1 files changed, 1 insertions, 1 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; } |