From 1a465207ab0a0b6756ab0d9305102d9159955a14 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 15 Nov 2016 19:29:50 +0100 Subject: 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. --- src/core/dbus-unit.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/dbus-unit.c') 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; } -- cgit v1.2.3-54-g00ecf