aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-08-28 20:52:07 +0200
committerMax Kellermann <max@duempel.org>2012-08-29 17:41:26 +0200
commit25740d27bfa49fdbc063e1f169fd68993c6428d3 (patch)
treefbd99dc2e1cb39dd4acefe0d615a89b2b170eb5f /src/command.c
parentfb0a52a34ae0428cf788c16b968cb1f2e6cbb461 (diff)
downloadmpd-25740d27bfa49fdbc063e1f169fd68993c6428d3.tar.gz
mpd-25740d27bfa49fdbc063e1f169fd68993c6428d3.tar.xz
mpd-25740d27bfa49fdbc063e1f169fd68993c6428d3.zip
Stats: stats_print() returns void
Diffstat (limited to '')
-rw-r--r--src/command.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index 2c76a75ba..9a9cd5b12 100644
--- a/src/command.c
+++ b/src/command.c
@@ -939,7 +939,8 @@ static enum command_return
handle_stats(struct client *client,
G_GNUC_UNUSED int argc, G_GNUC_UNUSED char *argv[])
{
- return stats_print(client);
+ stats_print(client);
+ return COMMAND_RETURN_OK;
}
static enum command_return