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 5428653..11ccd63 100644
--- a/src/main.c
+++ b/src/main.c
@@ -166,7 +166,7 @@ int main (int argc, char **argv) {
void *threadRet;
pthread_join (playerThread, &threadRet);
/* don't continue playback if thread reports error */
- if (threadRet != NULL) {
+ if (threadRet != (void *) PLAYER_RET_OK) {
curStation = NULL;
}
memset (&player, 0, sizeof (player));