tree-wide: use strv_contains() in more places
This commit is contained in:
committed by
Lennart Poettering
parent
d3e85c9c81
commit
d29cc4d6e1
+1
-1
@@ -610,7 +610,7 @@ bool strv_is_uniq(char * const *l) {
|
||||
char * const *i;
|
||||
|
||||
STRV_FOREACH(i, l)
|
||||
if (strv_find(i+1, *i))
|
||||
if (strv_contains(i+1, *i))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user