1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-28 05:57:33 +03:00

bus: when synthesizing messages locally, fill in a sender

This commit is contained in:
Lennart Poettering 2013-11-29 20:10:08 +01:00
parent b5dda4d84a
commit 34a2c9e841

View File

@ -1828,6 +1828,8 @@ static int process_timeout(sd_bus *bus) {
if (r < 0)
return r;
m->sender = "org.freedesktop.DBus";
r = bus_seal_message(bus, m);
if (r < 0)
return r;
@ -2149,6 +2151,8 @@ static int process_closing(sd_bus *bus, sd_bus_message **ret) {
if (r < 0)
return r;
m->sender = "org.freedesktop.DBus.Local";
r = bus_seal_message(bus, m);
if (r < 0)
return r;