diff options
Diffstat (limited to 'src/libirecovery.c')
-rw-r--r-- | src/libirecovery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libirecovery.c b/src/libirecovery.c index 9260adb..1b42fbd 100644 --- a/src/libirecovery.c +++ b/src/libirecovery.c @@ -1794,7 +1794,7 @@ IRECV_API irecv_error_t irecv_send_buffer(irecv_client_t client, unsigned char* if (!recovery_mode && status != 5) { int retry = 0; - while (retry < 20) { + while (retry++ < 20) { irecv_get_status(client, &status); if (status == 5) { break; |