From 0ca7cf386844ca153cf081f457921156aecda909 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 22 Jun 2026 00:31:24 -0400 Subject: BUGFIX: strlist_contains now uses strstr instead of strcmp * The match was never intended to be exact --- src/lib/core/strlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit