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 /src | |
parent | 2b579aeb4f6177de619eb02129f780675a5482ff (diff) | |
download | mpd-d59a332ef96666d2d7df71d0885f8e652dd6fc1b.tar.gz mpd-d59a332ef96666d2d7df71d0885f8e652dd6fc1b.tar.xz mpd-d59a332ef96666d2d7df71d0885f8e652dd6fc1b.zip |
commmand: fix URI argument in playlistadd
Diffstat (limited to 'src')
-rw-r--r-- | src/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |