mirror of
https://github.com/systemd/systemd.git
synced 2024-11-05 06:52:22 +03:00
sd-bus: fix introspection bug in signal parameter names
This commit is contained in:
parent
8bdda551da
commit
58abbbcc6b
@ -160,7 +160,7 @@ int introspect_write_interface(struct introspect *i, const sd_bus_vtable *v) {
|
||||
case _SD_BUS_VTABLE_SIGNAL:
|
||||
fprintf(i->f, " <signal name=\"%s\">\n", v->x.signal.member);
|
||||
if (bus_vtable_has_names(vtable))
|
||||
names = strempty(v->x.method.names);
|
||||
names = strempty(v->x.signal.names);
|
||||
introspect_write_arguments(i, strempty(v->x.signal.signature), &names, NULL);
|
||||
introspect_write_flags(i, v->type, v->flags);
|
||||
fputs(" </signal>\n", i->f);
|
||||
|
Loading…
Reference in New Issue
Block a user