diff options
author | Max Kellermann <max@duempel.org> | 2009-01-04 18:59:32 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-04 18:59:32 +0100 |
commit | 8c5470a3db7f36cc50b8f5591c8b1f1410977581 (patch) | |
tree | 55c8fc398adc080e46b6c14024cb3c71b5b29b6b /src/playlist.h | |
parent | 49ac6fa99672bf012b2ce8b39eae0c89cabb8465 (diff) | |
download | mpd-8c5470a3db7f36cc50b8f5591c8b1f1410977581.tar.gz mpd-8c5470a3db7f36cc50b8f5591c8b1f1410977581.tar.xz mpd-8c5470a3db7f36cc50b8f5591c8b1f1410977581.zip |
playlist: log errors during loadPlaylist()
Don't call command_error() if loading a song from the playlist fails.
This may result in assertion failures, since command_error() may be
called more than once.
Diffstat (limited to '')
-rw-r--r-- | src/playlist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist.h b/src/playlist.h index a4b40f6e0..59c37a788 100644 --- a/src/playlist.h +++ b/src/playlist.h @@ -126,7 +126,7 @@ enum playlist_result swapSongsInPlaylist(unsigned song1, unsigned song2); enum playlist_result swapSongsInPlaylistById(unsigned id1, unsigned id2); -enum playlist_result loadPlaylist(struct client *client, const char *utf8file); +enum playlist_result loadPlaylist(const char *utf8file); bool getPlaylistRepeatStatus(void); |