aboutsummaryrefslogtreecommitdiff
path: root/src/Listen.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Listen.cxx')
-rw-r--r--src/Listen.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Listen.cxx b/src/Listen.cxx
index 3b439f8f..1e633350 100644
--- a/src/Listen.cxx
+++ b/src/Listen.cxx
@@ -20,7 +20,6 @@
#include "config.h"
#include "Listen.hxx"
#include "Main.hxx"
-#include "Partition.hxx"
#include "Client.hxx"
#include "conf.h"
@@ -47,7 +46,7 @@ static void
listen_callback(int fd, const struct sockaddr *address,
size_t address_length, int uid, G_GNUC_UNUSED void *ctx)
{
- client_new(global_partition->playlist, &global_partition->pc,
+ client_new(*global_partition,
fd, address, address_length, uid);
}