bus: when parsing signature strings, accept NULL as empty signature

This commit is contained in:
Lennart Poettering
2013-04-05 14:56:48 +02:00
parent eba8617efc
commit 88d331d537
+3 -1
View File
@@ -1250,7 +1250,9 @@ int bus_message_append_ap(
int r;
assert(m);
assert(types);
if (!types)
return 0;
for (t = types; *t; t++) {
switch (*t) {