From df5f9f4a158c244006d1965a328779f284cae7d9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 5 Feb 2014 23:16:50 +0100 Subject: Listen: add Partition reference --- src/Main.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Main.cxx') diff --git a/src/Main.cxx b/src/Main.cxx index 368f54caa..c9de56873 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -432,7 +432,8 @@ int mpd_main(int argc, char *argv[]) const unsigned max_clients = config_get_positive(CONF_MAX_CONN, 10); instance->client_list = new ClientList(max_clients); - if (!listen_global_init(*instance->event_loop, error)) { + if (!listen_global_init(*instance->event_loop, *instance->partition, + error)) { LogError(error); return EXIT_FAILURE; } -- cgit v1.2.3