mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-29 00:23:23 -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;
|
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user