aboutsummaryrefslogtreecommitdiffstats
path: root/src/player.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-07-30 08:47:50 +0000
committerEric Wong <normalperson@yhbt.net>2006-07-30 08:47:50 +0000
commite86fd65c81be319c8f4848d42053084ceab9afc8 (patch)
treee31337fe239384bab16b7b889b90075fa3f8b5b9 /src/player.c
parenta0c8e3656ba1c7c796f47f7d020f448961b1b3c5 (diff)
downloadmpd-e86fd65c81be319c8f4848d42053084ceab9afc8.tar.gz
mpd-e86fd65c81be319c8f4848d42053084ceab9afc8.tar.xz
mpd-e86fd65c81be319c8f4848d42053084ceab9afc8.zip
commandError() cleanups, fixup gcc checks
stripped binary size reduced by 9k on my machine from making commandError a function. We'll print out error messages slightly slower before, but the smaller binary is more than worth it. git-svn-id: https://svn.musicpd.org/mpd/trunk@4488 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/player.c')
-rw-r--r--src/player.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player.c b/src/player.c
index 5ebf22f79..2ffe66e76 100644
--- a/src/player.c
+++ b/src/player.c
@@ -396,7 +396,7 @@ int playerSeek(int fd, Song * song, float time)
if (pc->state == PLAYER_STATE_STOP) {
commandError(fd, ACK_ERROR_PLAYER_SYNC,
- "player not currently playing", NULL);
+ "player not currently playing");
return -1;
}