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
This commit is contained in:
parent
bde7029409
commit
6723e65cdf
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user