make swapid and deleteid actually work
git-svn-id: https://svn.musicpd.org/mpd/trunk@1461 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
593cf2ac86
commit
c024bca2d6
@ -327,7 +327,7 @@ int handleDeleteId(FILE * fp, unsigned int * permission, int argArrayLength,
|
|||||||
"need a positive integer");
|
"need a positive integer");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
return deleteFromPlaylist(fp, id);
|
return deleteFromPlaylistById(fp, id);
|
||||||
}
|
}
|
||||||
|
|
||||||
int handlePlaylist(FILE * fp, unsigned int * permission, int argArrayLength,
|
int handlePlaylist(FILE * fp, unsigned int * permission, int argArrayLength,
|
||||||
@ -664,7 +664,7 @@ int handleSwapId(FILE * fp, unsigned int * permission, int argArrayLength,
|
|||||||
argArray[2]);
|
argArray[2]);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
return swapSongsInPlaylist(fp, id1, id2);
|
return swapSongsInPlaylistById(fp, id1, id2);
|
||||||
}
|
}
|
||||||
|
|
||||||
int handleSeek(FILE * fp, unsigned int * permission, int argArrayLength,
|
int handleSeek(FILE * fp, unsigned int * permission, int argArrayLength,
|
||||||
|
Loading…
Reference in New Issue
Block a user