From eee8bba78de8eba50f7cc7ca828ca06ed89c5893 Mon Sep 17 00:00:00 2001 From: Max Kellermann <max@duempel.org> Date: Sun, 4 Jan 2009 19:11:24 +0100 Subject: 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. --- src/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command.c') 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); } -- cgit v1.2.3