aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c2
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);