diff options
author | Havoc Pennington <hp@redhat.com> | 2003-04-06 20:04:47 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-04-06 20:04:47 +0000 |
commit | c8991b0f95a3b53bc98de9e029780bbe0a0b3114 (patch) | |
tree | a34064ca3cac6aba415b29079035866982cdbe0a /bus/driver.c | |
parent | bc8b061eec0fd9de6552a9e6118c40283863b6dc (diff) |
2003-04-06 Havoc Pennington <hp@pobox.com>
* bus/bus.c (bus_context_new): print the address in here, rather
than in main(), because we need to do it before forking the daemon
* bus/dispatch.c (send_service_nonexistent_error): set the sender
on the service nonexistent error
* bus/driver.c (bus_driver_handle_acquire_service): set the
sender on the AcquireService reply
* test/data/valid-config-files/debug-allow-all.conf.in: Make test
server also listen on a UNIX socket so services can connect to it.
Diffstat (limited to 'bus/driver.c')
-rw-r--r-- | bus/driver.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bus/driver.c b/bus/driver.c index 0cea1d6f..e01949fc 100644 --- a/bus/driver.c +++ b/bus/driver.c @@ -478,6 +478,12 @@ bus_driver_handle_acquire_service (DBusConnection *connection, goto out; } + if (!dbus_message_set_sender (reply, DBUS_SERVICE_DBUS)) + { + BUS_SET_OOM (error); + goto out; + } + if (service == NULL) { service = bus_registry_ensure (registry, |