aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-04 19:11:24 +0100
committerMax Kellermann <max@duempel.org>2009-01-13 23:08:34 +0100
commiteee8bba78de8eba50f7cc7ca828ca06ed89c5893 (patch)
tree27398db999dca64844e1052d1cb95df1b1cb2f65 /src/playlist.h
parent63181233bb2a28ccd3776d48aa2229df920c2ed3 (diff)
downloadmpd-eee8bba78de8eba50f7cc7ca828ca06ed89c5893.tar.gz
mpd-eee8bba78de8eba50f7cc7ca828ca06ed89c5893.tar.xz
mpd-eee8bba78de8eba50f7cc7ca828ca06ed89c5893.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 'src/playlist.h')
-rw-r--r--src/playlist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist.h b/src/playlist.h
index 137475afb..dfbba2e12 100644
--- a/src/playlist.h
+++ b/src/playlist.h
@@ -124,7 +124,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);