From d2606baa7923c2ba6befd87a6c8acf20ce5376f1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 22 Oct 2008 17:23:58 +0200 Subject: stored_playlist: de-CamelCase moved function Rename addToStoredPlaylist() to spl_append_uri(), and remove the clearStoredPlaylist() macro. --- src/command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/command.c') diff --git a/src/command.c b/src/command.c index 17ee7dbed..c1f0b3f3d 100644 --- a/src/command.c +++ b/src/command.c @@ -1115,7 +1115,7 @@ static int handlePlaylistClear(struct client *client, { enum playlist_result result; - result = clearStoredPlaylist(argv[1]); + result = spl_clear(argv[1]); return print_playlist_result(client, result); } @@ -1127,7 +1127,7 @@ static int handlePlaylistAdd(struct client *client, enum playlist_result result; if (isRemoteUrl(path)) - result = addToStoredPlaylist(path, playlist); + result = spl_append_uri(path, playlist); else result = addAllInToStoredPlaylist(path, playlist); -- cgit v1.2.3