1
1
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:
Lennart Poettering 2013-10-16 05:59:21 +02:00
parent 75297aba81
commit 6014597dd6

View File

@ -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;
}