summaryrefslogtreecommitdiffstats
path: root/bus/dispatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'bus/dispatch.c')
-rw-r--r--bus/dispatch.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/bus/dispatch.c b/bus/dispatch.c
index 6e3a61e3..2e0fa9d2 100644
--- a/bus/dispatch.c
+++ b/bus/dispatch.c
@@ -137,7 +137,14 @@ send_service_nonexistent_error (BusTransaction *transaction,
BUS_SET_OOM (error);
return FALSE;
}
-
+
+ if (!dbus_message_set_sender (error_reply, DBUS_SERVICE_DBUS))
+ {
+ dbus_message_unref (error_reply);
+ BUS_SET_OOM (error);
+ return FALSE;
+ }
+
if (!bus_transaction_send_message (transaction, connection, error_reply))
{
dbus_message_unref (error_reply);