mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +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);
|
||||
|
||||
if (direction)
|
||||
fprintf(i->f, " direction=\"%s\">\n", direction);
|
||||
fprintf(i->f, " direction=\"%s\"/>\n", direction);
|
||||
else
|
||||
fputs(">\n", i->f);
|
||||
fputs("/>\n", i->f);
|
||||
|
||||
signature += l;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user