shared: add some minor comments

This commit is contained in:
Lennart Poettering 2019-04-01 18:41:19 +02:00 committed by Yu Watanabe
parent 4659bf6f76
commit c25c118710
1 changed files with 4 additions and 0 deletions

View File

@ -11,8 +11,11 @@
typedef struct BusWaitForJobs {
sd_bus *bus;
/* The set of jobs to wait for, as bus object paths */
Set *jobs;
/* The unit name and job result of the last Job message */
char *name;
char *result;
@ -52,6 +55,7 @@ static int match_job_removed(sd_bus_message *m, void *userdata, sd_bus_error *er
free(found);
(void) free_and_strdup(&d->result, empty_to_null(result));
(void) free_and_strdup(&d->name, empty_to_null(unit));
return 0;