summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui.c b/src/ui.c
index 689ad1e..6ccc2af 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -250,7 +250,7 @@ static CURLcode BarPianoHttpRequest (CURL * const http,
free (buffer.data);
buffer.data = NULL;
buffer.pos = 0;
- if (retry > settings->maxRetry) {
+ if (retry >= settings->maxRetry) {
break;
}
} else {