tree-wide: use strv_contains() in more places

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2022-03-18 10:22:20 +01:00
committed by Lennart Poettering
parent d3e85c9c81
commit d29cc4d6e1
8 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -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)