From 4d8438e63d7c1cbed3ec40bf073574f3c01fce56 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 7 Sep 2008 14:04:16 +0200 Subject: audio: don't pass "fd" to printAudioDevices() Pass the client struct instead. --- src/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command.c') 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; } -- cgit v1.2.3