aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-06-13 13:05:19 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-06-13 13:05:19 +0000
commitc024bca2d6241c5f813365fd583a43f139bffb50 (patch)
treeefbbb2fcef843bc3c6dfdcc38f043b95e951eca8
parent593cf2ac864cf40a0cdaf98b11f085f12749b17a (diff)
downloadmpd-c024bca2d6241c5f813365fd583a43f139bffb50.tar.gz
mpd-c024bca2d6241c5f813365fd583a43f139bffb50.tar.xz
mpd-c024bca2d6241c5f813365fd583a43f139bffb50.zip
make swapid and deleteid actually work
git-svn-id: https://svn.musicpd.org/mpd/trunk@1461 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command.c b/src/command.c
index 05a0976ea..81398ebaf 100644
--- a/src/command.c
+++ b/src/command.c
@@ -327,7 +327,7 @@ int handleDeleteId(FILE * fp, unsigned int * permission, int argArrayLength,
"need a positive integer");
return -1;
}
- return deleteFromPlaylist(fp, id);
+ return deleteFromPlaylistById(fp, id);
}
int handlePlaylist(FILE * fp, unsigned int * permission, int argArrayLength,
@@ -664,7 +664,7 @@ int handleSwapId(FILE * fp, unsigned int * permission, int argArrayLength,
argArray[2]);
return -1;
}
- return swapSongsInPlaylist(fp, id1, id2);
+ return swapSongsInPlaylistById(fp, id1, id2);
}
int handleSeek(FILE * fp, unsigned int * permission, int argArrayLength,