bus: don't include the introspected object in list of subobjects

This commit is contained in:
Lennart Poettering
2013-10-30 02:08:57 +01:00
parent 0aa5b4d1f7
commit dd8243a3ba
+1 -1
View File
@@ -63,7 +63,7 @@ int introspect_write_child_nodes(struct introspect *i, Set *s, const char *prefi
const char *e;
e = object_path_startswith(node, prefix);
if (e)
if (e && e[0])
fprintf(i->f, " <node name=\"%s\"/>\n", e);
free(node);