1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 06:52:22 +03:00

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

This commit is contained in:
Lennart Poettering 2013-04-05 14:48:20 +02:00
parent eba8617efc
commit 88d331d537

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) {