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/connection.c | |
parent | 10faede1eec77b0687ad007fa59608e96d80317d (diff) | |
download | dbus-eb9aa9da9564f2df788580394e67ae6105e517fb.tar.gz |
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/connection.c')
-rw-r--r-- | bus/connection.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bus/connection.c b/bus/connection.c index 65ebdb28..db9cbaa8 100644 --- a/bus/connection.c +++ b/bus/connection.c @@ -1862,6 +1862,13 @@ bus_transaction_send_from_driver (BusTransaction *transaction, if (!dbus_message_set_sender (message, DBUS_SERVICE_ORG_FREEDESKTOP_DBUS)) return FALSE; + if (bus_connection_is_active (connection)) + { + if (!dbus_message_set_destination (message, + bus_connection_get_name (connection))) + return FALSE; + } + /* bus driver never wants a reply */ dbus_message_set_no_reply (message, TRUE); |