aboutsummaryrefslogtreecommitdiffstats
path: root/src/Main.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-05 23:16:50 +0100
committerMax Kellermann <max@duempel.org>2014-02-19 23:43:36 +0100
commitdf5f9f4a158c244006d1965a328779f284cae7d9 (patch)
tree39670541de93991e54811ba2e746c13d0a186c27 /src/Main.cxx
parentd9466cad0e13cf56a5cff36df30cfb3411305c2b (diff)
downloadmpd-df5f9f4a158c244006d1965a328779f284cae7d9.tar.gz
mpd-df5f9f4a158c244006d1965a328779f284cae7d9.tar.xz
mpd-df5f9f4a158c244006d1965a328779f284cae7d9.zip
Listen: add Partition reference
Diffstat (limited to '')
-rw-r--r--src/Main.cxx3
1 files changed, 2 insertions, 1 deletions
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;
}