From 6723e65cdf911de203fe20a72f17ee5f3bf73158 Mon Sep 17 00:00:00 2001 From: Qball Cow Date: Sun, 7 Aug 2005 18:47:49 +0000 Subject: Fix AddId handler, It tried to add the first argument instead of the 2nd. Resulting it tries to add "addid" git-svn-id: https://svn.musicpd.org/mpd/trunk@3427 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command.c') 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, -- cgit v1.2.3