bus: fix build

This commit is contained in:
Lennart Poettering 2013-10-30 02:38:52 +01:00
parent e834047795
commit 38911893c5
2 changed files with 2 additions and 2 deletions

View File

@ -153,7 +153,7 @@ static bool value_node_test(
* should contain all well-known names of the sender,
* hence we can fix things there correctly. */
if (node->value.str[0] != ':' && value_str[0] == ':')
if (node->value.str[0] != ':' && value_str && value_str[0] == ':')
return true;
return false;

View File

@ -600,7 +600,7 @@ static int property_get_all_callbacks_run(
if (r < 0)
return r;
found_interface =
found_interface = !iface ||
streq(iface, "org.freedesktop.DBus.Properties") ||
streq(iface, "org.freedesktop.DBus.Peer") ||
streq(iface, "org.freedesktop.DBus.Introspectable");