summaryrefslogtreecommitdiffstats
path: root/bus/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'bus/driver.c')
-rw-r--r--bus/driver.c6
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,