sd-bus: use STR_IN_SET() in one more place
This commit is contained in:
@@ -827,10 +827,10 @@ static int property_get_all_callbacks_run(
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
found_interface = !iface ||
|
||||
streq(iface, "org.freedesktop.DBus.Properties") ||
|
||||
streq(iface, "org.freedesktop.DBus.Peer") ||
|
||||
streq(iface, "org.freedesktop.DBus.Introspectable");
|
||||
found_interface = !iface || STR_IN_SET(iface,
|
||||
"org.freedesktop.DBus.Properties",
|
||||
"org.freedesktop.DBus.Peer",
|
||||
"org.freedesktop.DBus.Introspectable");
|
||||
|
||||
LIST_FOREACH(vtables, c, first) {
|
||||
_cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL;
|
||||
|
||||
Reference in New Issue
Block a user