diff options
author | Stef Walter <stef@thewalter.net> | 2014-08-06 11:53:00 +0200 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2014-08-15 14:07:07 +0200 |
commit | b39a2770ba55637da80e2e389222c59dbea73507 (patch) | |
tree | c7773e973467194cbfde043297222f8092937496 /src/core/dbus-unit.c | |
parent | 2ea31e5b13448fd7a9757da4bcd1de04a151ac3f (diff) |
core: Rename Job.subscribed field to Job.clients
This reflects how this field will be used, to not only track where
to send signals, but also which callers (other than root) are allowed
to call DBus methods on the Job.
Diffstat (limited to 'src/core/dbus-unit.c')
-rw-r--r-- | src/core/dbus-unit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/dbus-unit.c b/src/core/dbus-unit.c index 8f23fe76ce..2132f59faa 100644 --- a/src/core/dbus-unit.c +++ b/src/core/dbus-unit.c @@ -758,13 +758,13 @@ int bus_unit_queue_job( return r; if (bus == u->manager->api_bus) { - if (!j->subscribed) { - r = sd_bus_track_new(bus, &j->subscribed, NULL, NULL); + if (!j->clients) { + r = sd_bus_track_new(bus, &j->clients, NULL, NULL); if (r < 0) return r; } - r = sd_bus_track_add_sender(j->subscribed, message); + r = sd_bus_track_add_sender(j->clients, message); if (r < 0) return r; } |