summaryrefslogtreecommitdiff
path: root/src/core/job.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/job.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/job.c')
-rw-r--r--src/core/job.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/job.c b/src/core/job.c
index 7b492564ab..3a20da6d06 100644
--- a/src/core/job.c
+++ b/src/core/job.c
@@ -92,7 +92,7 @@ void job_free(Job *j) {
sd_event_source_unref(j->timer_event_source);
- sd_bus_track_unref(j->clients);
+ sd_bus_track_unref(j->bus_track);
strv_free(j->deserialized_clients);
free(j);
@@ -1010,7 +1010,7 @@ int job_serialize(Job *j, FILE *f) {
if (j->begin_usec > 0)
fprintf(f, "job-begin="USEC_FMT"\n", j->begin_usec);
- bus_track_serialize(j->clients, f, "subscribed");
+ bus_track_serialize(j->bus_track, f, "subscribed");
/* End marker */
fputc('\n', f);
@@ -1121,7 +1121,7 @@ int job_coldplug(Job *j) {
/* After deserialization is complete and the bus connection
* set up again, let's start watching our subscribers again */
- (void) bus_track_coldplug(j->manager, &j->clients, false, j->deserialized_clients);
+ (void) bus_track_coldplug(j->manager, &j->bus_track, false, j->deserialized_clients);
j->deserialized_clients = strv_free(j->deserialized_clients);
if (j->state == JOB_WAITING)