From b616dff77d8e0d7a930327007690444a356dcbf3 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 26 Aug 2008 08:44:34 +0200 Subject: no commandError() in playerSeek() We should avoid having protocol specific code in player.c. Just return success or failure, and let the caller send the error code to the MPD client. --- src/player.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/player.h') diff --git a/src/player.h b/src/player.h index a030c02da..fcdbb000f 100644 --- a/src/player.h +++ b/src/player.h @@ -139,7 +139,7 @@ void playerQueueLock(void); void playerQueueUnlock(void); -int playerSeek(int fd, Song * song, float seek_time); +int playerSeek(Song * song, float seek_time); void setPlayerCrossFade(float crossFadeInSeconds); -- cgit v1.2.3