summaryrefslogtreecommitdiff
path: root/src/core/dbus-unit.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-11-15 19:29:50 +0100
committerLennart Poettering <lennart@poettering.net>2016-11-16 15:03:26 +0100
commit1a465207ab0a0b6756ab0d9305102d9159955a14 (patch)
tree0d6541f70088018a7447b051f99872fb9e535889 /src/core/dbus-unit.c
parenta2d72e265aaf0cceb0eb16d7f76730054e7ff439 (diff)
core: rename "clients" field of Job structure to "bus_track"
Let's make semantics of this field more similar to the same functionality in the Unit object, in particular as we add new functionality to it later on.
Diffstat (limited to 'src/core/dbus-unit.c')
-rw-r--r--src/core/dbus-unit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/dbus-unit.c b/src/core/dbus-unit.c
index b6cb6e1350..90cf5651ca 100644
--- a/src/core/dbus-unit.c
+++ b/src/core/dbus-unit.c
@@ -1224,13 +1224,13 @@ int bus_unit_queue_job(
return r;
if (sd_bus_message_get_bus(message) == u->manager->api_bus) {
- if (!j->clients) {
- r = sd_bus_track_new(sd_bus_message_get_bus(message), &j->clients, NULL, NULL);
+ if (!j->bus_track) {
+ r = sd_bus_track_new(sd_bus_message_get_bus(message), &j->bus_track, NULL, NULL);
if (r < 0)
return r;
}
- r = sd_bus_track_add_sender(j->clients, message);
+ r = sd_bus_track_add_sender(j->bus_track, message);
if (r < 0)
return r;
}