aboutsummaryrefslogtreecommitdiffstats
path: root/src/dirvec.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-10 08:18:01 +0100
committerMax Kellermann <max@duempel.org>2009-02-10 08:18:01 +0100
commit799d1c9dc20c2a6723442614e10808bc5902c9df (patch)
tree2c358c6dfc1ebc0951fc40cd2134621bd2692cbe /src/dirvec.h
parent40393ae64f30e685e977617d4738bdfe04cc5786 (diff)
downloadmpd-799d1c9dc20c2a6723442614e10808bc5902c9df.tar.gz
mpd-799d1c9dc20c2a6723442614e10808bc5902c9df.tar.xz
mpd-799d1c9dc20c2a6723442614e10808bc5902c9df.zip
player_thread: reset pc.next_song only if queued
When we reset pc.next_song if there is no song queued, this might cause a race condition: the next song to be played is cleared, while pc.command was already set. Clear the "next_song" only if there is a song queued for the current do_play() invocation.
Diffstat (limited to 'src/dirvec.h')
0 files changed, 0 insertions, 0 deletions