tree-wide: use strv_contains() in more places
This commit is contained in:
committed by
Lennart Poettering
parent
d3e85c9c81
commit
d29cc4d6e1
@@ -355,7 +355,7 @@ int bus_message_print_all_properties(
|
||||
if (!name_with_equal)
|
||||
return log_oom();
|
||||
|
||||
if (!filter || strv_find(filter, name) ||
|
||||
if (!filter || strv_contains(filter, name) ||
|
||||
(expected_value = strv_find_startswith(filter, name_with_equal))) {
|
||||
r = sd_bus_message_peek_type(m, NULL, &contents);
|
||||
if (r < 0)
|
||||
|
||||
Reference in New Issue
Block a user