aboutsummaryrefslogtreecommitdiffstats
path: root/src/player.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/player.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player.c b/src/player.c
index cb9b5ed1c..c16cad22e 100644
--- a/src/player.c
+++ b/src/player.c
@@ -112,7 +112,7 @@ int playerInit() {
setSigHandlersForDecoder();
- while(close(listenSocket)<0 && errno==EINTR);
+ closeAllListenSockets();
freeAllInterfaces();
closeMp3Directory();
finishPlaylist();