summaryrefslogtreecommitdiff
path: root/src/database.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/database.c')
-rw-r--r--src/database.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database.c b/src/database.c
index dd11973..5ecd437 100644
--- a/src/database.c
+++ b/src/database.c
@@ -3013,7 +3013,7 @@ static int apk_string_match(const char *str, struct apk_string_array *filter, co
char **pmatch;
foreach_array_item(pmatch, filter) {
- if (fnmatch(*pmatch, str, 0) == 0) {
+ if (fnmatch(*pmatch, str, FNM_CASEFOLD) == 0) {
*res = *pmatch;
return 1;
}