diff options
author | Max Kellermann <max@duempel.org> | 2008-09-07 14:04:16 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-07 14:04:16 +0200 |
commit | 4d8438e63d7c1cbed3ec40bf073574f3c01fce56 (patch) | |
tree | 0c45a8da034b2bbb618c1dc9fd477ad73eb077a1 /src/command.c | |
parent | a6c5928c75a57a7f75279dfec39448899b22b046 (diff) | |
download | mpd-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.c | 2 |
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; } |