clean up ACK error coding a little bit

git-svn-id: https://svn.musicpd.org/mpd/trunk@1321 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes
2004-06-04 00:49:33 +00:00
parent dafe92a9ed
commit ef6c500edb
8 changed files with 83 additions and 111 deletions

View File

@@ -386,8 +386,7 @@ int playerSeek(FILE * fp, Song * song, float time) {
PlayerControl * pc = &(getPlayerData()->playerControl);
if(pc->state==PLAYER_STATE_STOP) {
myfprintf(fp,"%s player not currently playing\n",
COMMAND_RESPOND_ERROR);
commandError(fp, "player not currently playing");
return -1;
}