diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-20 04:02:39 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-20 04:02:39 +0100 |
commit | cea8e32e3fc57569094e2ddf4167f2a9864fc3a4 (patch) | |
tree | c66112ed090cf151d9dd867e2aa32e87fcd504a6 /manager.c | |
parent | ceed357001a7543c62468c5b943cf80c2a644252 (diff) |
extend test a little
Diffstat (limited to 'manager.c')
-rw-r--r-- | manager.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -778,7 +778,7 @@ finish: return 0; } -void manager_dump_jobs(Manager *s, FILE *f) { +void manager_dump_jobs(Manager *s, FILE *f, const char *prefix) { void *state; Job *j; @@ -786,10 +786,10 @@ void manager_dump_jobs(Manager *s, FILE *f) { assert(f); HASHMAP_FOREACH(j, s->jobs, state) - job_dump(j, f, NULL); + job_dump(j, f, prefix); } -void manager_dump_names(Manager *s, FILE *f) { +void manager_dump_names(Manager *s, FILE *f, const char *prefix) { void *state; Name *n; const char *t; @@ -799,5 +799,5 @@ void manager_dump_names(Manager *s, FILE *f) { HASHMAP_FOREACH_KEY(n, t, s->names, state) if (name_id(n) == t) - name_dump(n, f, NULL); + name_dump(n, f, prefix); } |