aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command.c b/src/command.c
index 44f561282..1502477ab 100644
--- a/src/command.c
+++ b/src/command.c
@@ -300,7 +300,7 @@ static void addCommand(const char *name,
static int handleUrlHandlers(struct client *client, mpd_unused int *permission,
mpd_unused int argc, mpd_unused char *argv[])
{
- return printRemoteUrlHandlers(client_get_fd(client));
+ return printRemoteUrlHandlers(client);
}
static int handleTagTypes(struct client *client, mpd_unused int *permission,
@@ -601,7 +601,7 @@ static int handleLsInfo(struct client *client, mpd_unused int *permission,
}
if (isRootDirectory(path))
- return lsPlaylists(client_get_fd(client), path);
+ return lsPlaylists(client, path);
return 0;
}