aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/core/strlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/core/strlist.c b/src/lib/core/strlist.c
index 8729266..e209bdf 100644
--- a/src/lib/core/strlist.c
+++ b/src/lib/core/strlist.c
@@ -176,7 +176,7 @@ int strlist_contains(struct StrList *pStrList, const char *value, size_t *index_
}
break;
}
- if (!strcmp(item, value)) {
+ if (strstr(item, value)) {
if (index_of) {
*index_of = i;
}