aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/command.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/command.c b/src/command.c
index 63ff03e96..9015a3881 100644
--- a/src/command.c
+++ b/src/command.c
@@ -437,13 +437,15 @@ static int handleDeleteId(int fd, mpd_unused int *permission,
static int handlePlaylist(int fd, mpd_unused int *permission,
mpd_unused int argc, mpd_unused char *argv[])
{
- return showPlaylist(fd);
+ showPlaylist(fd);
+ return 0;
}
static int handleShuffle(int fd, mpd_unused int *permission,
mpd_unused int argc, mpd_unused char *argv[])
{
- return shufflePlaylist(fd);
+ shufflePlaylist(fd);
+ return 0;
}
static int handleClear(mpd_unused int fd, mpd_unused int *permission,