From d533b59ee33f13df854b0adb2588ab03bcaedfff Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 3 Feb 2014 23:33:01 +0100 Subject: PlaylistFile: switch spl_append_uri() arguments Playlist file name first, to be consistent with the other functions in this library. --- src/command/PlaylistCommands.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command/PlaylistCommands.cxx') diff --git a/src/command/PlaylistCommands.cxx b/src/command/PlaylistCommands.cxx index c3c4fe37c..f624386a6 100644 --- a/src/command/PlaylistCommands.cxx +++ b/src/command/PlaylistCommands.cxx @@ -194,7 +194,7 @@ handle_playlistadd(Client &client, gcc_unused int argc, char *argv[]) return CommandResult::ERROR; } - success = spl_append_uri(uri, playlist, error); + success = spl_append_uri(playlist, uri, error); } else { #ifdef ENABLE_DATABASE success = search_add_to_playlist(uri, playlist, nullptr, -- cgit v1.2.3