aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index 6b6b670ce..7963dc9de 100644
--- a/src/command.c
+++ b/src/command.c
@@ -307,7 +307,7 @@ int handleAdd(FILE * fp, unsigned int * permission, int argArrayLength,
int handleAddId(FILE * fp, unsigned int * permission, int argArrayLength,
char ** argArray)
{
- return addToPlaylist(fp, argArray[0], 1);
+ return addToPlaylist(fp, argArray[1], 1);
}
int handleDelete(FILE * fp, unsigned int * permission, int argArrayLength,