summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 2a0e3f7..6388cde 100644
--- a/src/main.c
+++ b/src/main.c
@@ -293,7 +293,7 @@ static void BarMainPlayerCleanup (BarApp_t *app, pthread_t *playerThread) {
app->playerErrors = 0;
} else if (threadRet == (void *) PLAYER_RET_SOFTFAIL) {
++app->playerErrors;
- if (app->playerErrors >= app->settings.maxPlayerErrors) {
+ if (app->playerErrors >= app->settings.maxRetry) {
/* don't continue playback if thread reports too many error */
app->nextStation = NULL;
}