This connection is the one looking at the name, as opposed to the
one that owns the name (if any).
Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=105656
}
static DBusConnection *
-bus_driver_get_owner_of_name (DBusConnection *connection,
+bus_driver_get_owner_of_name (DBusConnection *observer,
const char *name)
{
BusRegistry *registry;
BusService *serv;
DBusString str;
- registry = bus_connection_get_registry (connection);
+ registry = bus_connection_get_registry (observer);
_dbus_string_init_const (&str, name);
serv = bus_registry_lookup (registry, &str);