diff options
author | Havoc Pennington <hp@redhat.com> | 2003-10-22 16:01:08 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-10-22 16:01:08 +0000 |
commit | eb9aa9da9564f2df788580394e67ae6105e517fb (patch) | |
tree | c04ed9d5e081bcfc1e050ed960c488bad3f617de /bus/bus.c | |
parent | 10faede1eec77b0687ad007fa59608e96d80317d (diff) |
2003-10-22 Havoc Pennington <hp@redhat.com>
* bus/bus.c (bus_context_check_security_policy): fix up assertion
* bus/connection.c (bus_transaction_send_from_driver): set the
destination to the connection's base service
Diffstat (limited to 'bus/bus.c')
-rw-r--r-- | bus/bus.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -919,9 +919,9 @@ bus_context_check_security_policy (BusContext *context, type = dbus_message_get_type (message); /* dispatch.c was supposed to ensure these invariants */ - /* FIXME this assertion is failing in make check */ _dbus_assert (dbus_message_get_destination (message) != NULL || - type == DBUS_MESSAGE_TYPE_SIGNAL); + type == DBUS_MESSAGE_TYPE_SIGNAL || + (sender == NULL && !bus_connection_is_active (proposed_recipient))); _dbus_assert (type == DBUS_MESSAGE_TYPE_SIGNAL || addressed_recipient != NULL || strcmp (dbus_message_get_destination (message), DBUS_SERVICE_ORG_FREEDESKTOP_DBUS) == 0); |