make function 'clear' in playlist editor clear selected playlist

This commit is contained in:
Andrzej Rybczak
2009-03-17 18:24:35 +01:00
parent b382784f6a
commit d1d1011eeb
5 changed files with 24 additions and 3 deletions

View File

@@ -2026,7 +2026,7 @@ void mpd_sendListPlaylistCommand(mpd_Connection *connection, char *path)
free(query);
}
void mpd_sendPlaylistClearCommand(mpd_Connection *connection, char *path)
void mpd_sendPlaylistClearCommand(mpd_Connection *connection, const char *path)
{
char *sPath = mpd_sanitizeArg(path);
int len = strlen("playlistclear")+2+strlen(sPath)+3;