1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-07 17:17:44 +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) {