mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 23:55:57 -05:00
[scan] Set consistent return type in check_path_in_directories()
This commit is contained in:
parent
85929dcaa8
commit
4662cd4cce
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user