aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-23 18:15:25 +0100
committerMax Kellermann <max@duempel.org>2009-01-23 18:15:25 +0100
commita6ad0cdecc9f80de29a25e73ad9a2c855e515552 (patch)
treebd1fce903dc7c75b59b1e02c4a2d07de2a34ef9e /src/command.c
parent21bb0aab9087a0d093c8fe718946bd0961fe9ba7 (diff)
downloadmpd-a6ad0cdecc9f80de29a25e73ad9a2c855e515552.tar.gz
mpd-a6ad0cdecc9f80de29a25e73ad9a2c855e515552.tar.xz
mpd-a6ad0cdecc9f80de29a25e73ad9a2c855e515552.zip
playlist: fix "clear" crash in random mode
When MPD is not playing while in random mode, and the client issues the "clear" command, MPD crashes in stopPlaylist(), or more exactly, in queue_order_to_position(-1). Exit from stopPlaylist() if MPD isn't playing.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions