mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +03:00
bus: fix generate introspection XML
This commit is contained in:
parent
75297aba81
commit
6014597dd6
@ -103,9 +103,9 @@ static int introspect_write_arguments(struct introspect *i, const char *signatur
|
|||||||
fprintf(i->f, " <arg type=\"%.*s\"", (int) l, signature);
|
fprintf(i->f, " <arg type=\"%.*s\"", (int) l, signature);
|
||||||
|
|
||||||
if (direction)
|
if (direction)
|
||||||
fprintf(i->f, " direction=\"%s\">\n", direction);
|
fprintf(i->f, " direction=\"%s\"/>\n", direction);
|
||||||
else
|
else
|
||||||
fputs(">\n", i->f);
|
fputs("/>\n", i->f);
|
||||||
|
|
||||||
signature += l;
|
signature += l;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user