diff options
author | Qball Cow <qball@qballcow.nl> | 2005-08-07 18:47:49 +0000 |
---|---|---|
committer | Qball Cow <qball@qballcow.nl> | 2005-08-07 18:47:49 +0000 |
commit | 6723e65cdf911de203fe20a72f17ee5f3bf73158 (patch) | |
tree | c93b24f201a2f6f7b08ff7451d09d3f64ef91941 /src | |
parent | bde702940945a0ddf35da20e07bb862db7c31583 (diff) | |
download | mpd-6723e65cdf911de203fe20a72f17ee5f3bf73158.tar.gz mpd-6723e65cdf911de203fe20a72f17ee5f3bf73158.tar.xz mpd-6723e65cdf911de203fe20a72f17ee5f3bf73158.zip |
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
Diffstat (limited to '')
-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 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, |