chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bus: fix build
[elogind.git]
/
src
/
libsystemd-bus
/
bus-introspect.c
diff --git
a/src/libsystemd-bus/bus-introspect.c
b/src/libsystemd-bus/bus-introspect.c
index 92deb75dfdcb747ff16c4bcf363226a1c34bf4c9..9a49e431c0a4e124aab47ee453cdb5d9aef5c03f 100644
(file)
--- a/
src/libsystemd-bus/bus-introspect.c
+++ b/
src/libsystemd-bus/bus-introspect.c
@@
-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);