From 4662cd4cce4d7d1e58ae72e273f72ed73dbfad0a Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Wed, 27 Sep 2023 22:46:13 +0200 Subject: [PATCH] [scan] Set consistent return type in check_path_in_directories() --- src/library/filescanner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/library/filescanner.c b/src/library/filescanner.c index 1e2ba658..2cf0a032 100644 --- a/src/library/filescanner.c +++ b/src/library/filescanner.c @@ -1791,7 +1791,7 @@ check_path_in_directories(const char *path) bool ret; if (strstr(path, "/../")) - return NULL; + return false; tmp_path = strdup(path); dir = dirname(tmp_path);