PlaylistFile: switch spl_append_uri() arguments

Playlist file name first, to be consistent with the other functions in
this library.
This commit is contained in:
Max Kellermann
2014-02-03 23:33:01 +01:00
parent 5ad2980d69
commit d533b59ee3
3 changed files with 3 additions and 3 deletions

View File

@@ -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,