mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 14:09:51 -05:00
[scan] Set consistent return type in check_path_in_directories()
This commit is contained in:
@@ -1791,7 +1791,7 @@ check_path_in_directories(const char *path)
|
|||||||
bool ret;
|
bool ret;
|
||||||
|
|
||||||
if (strstr(path, "/../"))
|
if (strstr(path, "/../"))
|
||||||
return NULL;
|
return false;
|
||||||
|
|
||||||
tmp_path = strdup(path);
|
tmp_path = strdup(path);
|
||||||
dir = dirname(tmp_path);
|
dir = dirname(tmp_path);
|
||||||
|
|||||||
Reference in New Issue
Block a user