From bd546462da55842061f5ae3f1df6a3673dcfb24d Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 22 Jun 2017 17:58:42 +0100 Subject: [PATCH] bus/containers: Set up new connections to join the bus Signed-off-by: Simon McVittie https://bugs.freedesktop.org/show_bug.cgi?id=101354 --- bus/containers.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bus/containers.c b/bus/containers.c index 69dfbf0c..07b39022 100644 --- a/bus/containers.c +++ b/bus/containers.c @@ -288,7 +288,10 @@ new_connection_cb (DBusServer *server, DBusConnection *new_connection, void *data) { - /* TODO: handle new connection */ + BusContainerInstance *instance = data; + + if (!bus_context_add_incoming_connection (instance->context, new_connection)) + return; } static const char * -- 2.13.3