diff options
author | Max Kellermann <max@duempel.org> | 2013-01-07 10:59:56 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-07 10:59:56 +0100 |
commit | d360f17a59fe6ed52ffa74c48c63164cf203d1e0 (patch) | |
tree | dea0df6cb96909f083f89e4d89a48ee82aef9f13 /src/Listen.cxx | |
parent | a6ee6be9602f64599b40e01321bd771b17d94f39 (diff) |
Client: add Partition reference attribute
playlist and player_control are deprecated.
Diffstat (limited to 'src/Listen.cxx')
-rw-r--r-- | src/Listen.cxx | 3 |
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); } |