diff options
Diffstat (limited to 'src/Listen.cxx')
-rw-r--r-- | src/Listen.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Listen.cxx b/src/Listen.cxx index 8741da9c2..3ea9bae9a 100644 --- a/src/Listen.cxx +++ b/src/Listen.cxx @@ -20,7 +20,7 @@ #include "config.h" #include "Listen.hxx" #include "Main.hxx" -#include "Playlist.hxx" +#include "Partition.hxx" #include "Client.hxx" extern "C" { @@ -47,7 +47,7 @@ static void listen_callback(int fd, const struct sockaddr *address, size_t address_length, int uid, G_GNUC_UNUSED void *ctx) { - client_new(g_playlist, global_player_control, + client_new(global_partition->playlist, &global_partition->pc, fd, address, address_length, uid); } |