diff options
author | Max Kellermann <max@duempel.org> | 2008-09-07 14:02:57 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-07 14:02:57 +0200 |
commit | a6c5928c75a57a7f75279dfec39448899b22b046 (patch) | |
tree | 01ea130db2b9c270241e6f538037dca7d81acbb5 /src/command.c | |
parent | 93e6d4c3adff4cfd06af77082793a0ba0fcf5fa5 (diff) | |
download | mpd-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 'src/command.c')
-rw-r--r-- | src/command.c | 2 |
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, |