diff options
author | Max Kellermann <max@duempel.org> | 2009-01-04 19:11:24 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-13 23:08:34 +0100 |
commit | eee8bba78de8eba50f7cc7ca828ca06ed89c5893 (patch) | |
tree | 27398db999dca64844e1052d1cb95df1b1cb2f65 /src/command.c | |
parent | 63181233bb2a28ccd3776d48aa2229df920c2ed3 (diff) | |
download | mpd-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/command.c')
-rw-r--r-- | src/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c index 9793830c1..dd4c4b3cd 100644 --- a/src/command.c +++ b/src/command.c @@ -564,7 +564,7 @@ handle_load(struct client *client, G_GNUC_UNUSED int argc, char *argv[]) { enum playlist_result result; - result = loadPlaylist(client, argv[1]); + result = loadPlaylist(argv[1]); return print_playlist_result(client, result); } |