diff options
author | Max Kellermann <max@duempel.org> | 2008-10-22 17:23:58 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-22 17:23:58 +0200 |
commit | d2606baa7923c2ba6befd87a6c8acf20ce5376f1 (patch) | |
tree | 957171de09f1b3de1c51b74cc44ced8cb23c35b1 /src/command.c | |
parent | 1da921f03cc3063dc309d0e1afdcd41e201f55a2 (diff) | |
download | mpd-d2606baa7923c2ba6befd87a6c8acf20ce5376f1.tar.gz mpd-d2606baa7923c2ba6befd87a6c8acf20ce5376f1.tar.xz mpd-d2606baa7923c2ba6befd87a6c8acf20ce5376f1.zip |
stored_playlist: de-CamelCase moved function
Rename addToStoredPlaylist() to spl_append_uri(), and remove the
clearStoredPlaylist() macro.
Diffstat (limited to 'src/command.c')
-rw-r--r-- | src/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |