diff options
author | Max Kellermann <max@duempel.org> | 2014-02-05 23:16:50 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-19 23:43:36 +0100 |
commit | df5f9f4a158c244006d1965a328779f284cae7d9 (patch) | |
tree | 39670541de93991e54811ba2e746c13d0a186c27 /src/Main.cxx | |
parent | d9466cad0e13cf56a5cff36df30cfb3411305c2b (diff) | |
download | mpd-df5f9f4a158c244006d1965a328779f284cae7d9.tar.gz mpd-df5f9f4a158c244006d1965a328779f284cae7d9.tar.xz mpd-df5f9f4a158c244006d1965a328779f284cae7d9.zip |
Listen: add Partition reference
Diffstat (limited to '')
-rw-r--r-- | src/Main.cxx | 3 |
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; } |