diff options
author | tsufeki <tsufeki@ymail.com> | 2013-08-01 08:42:22 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-08-01 08:42:22 +0200 |
commit | d59a332ef96666d2d7df71d0885f8e652dd6fc1b (patch) | |
tree | 29769c384eb14cf347cd36f9057a286fae0e54af | |
parent | 2b579aeb4f6177de619eb02129f780675a5482ff (diff) | |
download | mpd-d59a332ef96666d2d7df71d0885f8e652dd6fc1b.tar.gz mpd-d59a332ef96666d2d7df71d0885f8e652dd6fc1b.tar.xz mpd-d59a332ef96666d2d7df71d0885f8e652dd6fc1b.zip |
commmand: fix URI argument in playlistadd
Diffstat (limited to '')
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | src/command.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,6 @@ ver 0.17.5 (not yet released) +* protocol: + - fix "playlistadd" with URI ver 0.17.4 (2013/04/08) * protocol: diff --git a/src/command.c b/src/command.c index 34ec87247..b3318c68b 100644 --- a/src/command.c +++ b/src/command.c @@ -1579,7 +1579,7 @@ handle_playlistadd(struct client *client, G_GNUC_UNUSED int argc, char *argv[]) return COMMAND_RETURN_ERROR; } - success = spl_append_uri(argv[1], playlist, &error); + success = spl_append_uri(uri, playlist, &error); } else success = addAllInToStoredPlaylist(uri, playlist, &error); |