aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-07 14:02:57 +0200
committerMax Kellermann <max@duempel.org>2008-09-07 14:02:57 +0200
commita6c5928c75a57a7f75279dfec39448899b22b046 (patch)
tree01ea130db2b9c270241e6f538037dca7d81acbb5 /src/command.c
parent93e6d4c3adff4cfd06af77082793a0ba0fcf5fa5 (diff)
downloadmpd-a6c5928c75a57a7f75279dfec39448899b22b046.tar.gz
mpd-a6c5928c75a57a7f75279dfec39448899b22b046.tar.xz
mpd-a6c5928c75a57a7f75279dfec39448899b22b046.zip
stats: don't pass "fd" to printStats()
Pass the client struct instead of the raw file descriptor.
Diffstat (limited to '')
-rw-r--r--src/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index 755d1a586..05c6ed22e 100644
--- a/src/command.c
+++ b/src/command.c
@@ -999,7 +999,7 @@ static int handleRandom(struct client *client, mpd_unused int *permission,
static int handleStats(struct client *client, mpd_unused int *permission,
mpd_unused int argc, mpd_unused char *argv[])
{
- return printStats(client_get_fd(client));
+ return printStats(client);
}
static int handleClearError(mpd_unused struct client *client, mpd_unused int *permission,