aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-03-23 22:16:46 +0100
committerMax Kellermann <max@duempel.org>2011-03-23 22:16:46 +0100
commit87ad2f85428ed6fb30e38efbf4c04a9c758e5e5d (patch)
tree31394b6e00a7abe7e2c8040e337930885a8708bd /src
parenta8f891efcdc4b4c27942cc05aa025497e7fd983b (diff)
downloadmpd-87ad2f85428ed6fb30e38efbf4c04a9c758e5e5d.tar.gz
mpd-87ad2f85428ed6fb30e38efbf4c04a9c758e5e5d.tar.xz
mpd-87ad2f85428ed6fb30e38efbf4c04a9c758e5e5d.zip
command: fix return value of handle_currentsong()
Thanks to clang for complaining.
Diffstat (limited to 'src')
-rw-r--r--src/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index d30b63594..dd812df50 100644
--- a/src/command.c
+++ b/src/command.c
@@ -430,7 +430,7 @@ handle_currentsong(struct client *client,
G_GNUC_UNUSED int argc, G_GNUC_UNUSED char *argv[])
{
playlist_print_current(client, &g_playlist);
- return PLAYLIST_RESULT_SUCCESS;
+ return COMMAND_RETURN_OK;
}
static enum command_return