aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-07 14:04:16 +0200
committerMax Kellermann <max@duempel.org>2008-09-07 14:04:16 +0200
commit4d8438e63d7c1cbed3ec40bf073574f3c01fce56 (patch)
tree0c45a8da034b2bbb618c1dc9fd477ad73eb077a1 /src/command.c
parenta6c5928c75a57a7f75279dfec39448899b22b046 (diff)
downloadmpd-4d8438e63d7c1cbed3ec40bf073574f3c01fce56.tar.gz
mpd-4d8438e63d7c1cbed3ec40bf073574f3c01fce56.tar.xz
mpd-4d8438e63d7c1cbed3ec40bf073574f3c01fce56.zip
audio: don't pass "fd" to printAudioDevices()
Pass the client struct instead.
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index 05c6ed22e..ef151a872 100644
--- a/src/command.c
+++ b/src/command.c
@@ -1230,7 +1230,7 @@ static int handleDisableDevice(struct client *client, mpd_unused int *permission
static int handleDevices(struct client *client, mpd_unused int *permission,
mpd_unused int argc, mpd_unused char *argv[])
{
- printAudioDevices(client_get_fd(client));
+ printAudioDevices(client);
return 0;
}