summaryrefslogtreecommitdiffstats
authorMax Kellermann <[email protected]>2011-03-23 21:16:46 (GMT)
committer Max Kellermann <[email protected]>2011-03-23 21:16:46 (GMT)
commit87ad2f85428ed6fb30e38efbf4c04a9c758e5e5d (patch) (side-by-side diff)
tree31394b6e00a7abe7e2c8040e337930885a8708bd
parenta8f891efcdc4b4c27942cc05aa025497e7fd983b (diff)
downloadmpd-87ad2f85428ed6fb30e38efbf4c04a9c758e5e5d.zip
mpd-87ad2f85428ed6fb30e38efbf4c04a9c758e5e5d.tar.gz
mpd-87ad2f85428ed6fb30e38efbf4c04a9c758e5e5d.tar.bz2
command: fix return value of handle_currentsong()
Thanks to clang for complaining.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--src/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index d30b635..dd812df 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