diff options
author | Max Kellermann <max@duempel.org> | 2009-01-23 18:15:25 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-23 18:15:25 +0100 |
commit | a6ad0cdecc9f80de29a25e73ad9a2c855e515552 (patch) | |
tree | bd1fce903dc7c75b59b1e02c4a2d07de2a34ef9e /src/dirvec.h | |
parent | 21bb0aab9087a0d093c8fe718946bd0961fe9ba7 (diff) | |
download | mpd-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