mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 05:59:45 -05:00
Another attempt at #153
This commit is contained in:
@@ -485,7 +485,7 @@ char *os_apppath(char *parm) {
|
||||
char *os_apppath(char *parm) {
|
||||
char path[PATH_MAX];
|
||||
|
||||
realpath(param,path);
|
||||
realpath(parm,path);
|
||||
if(strrchr(path,'/')) {
|
||||
*strrchr(path,'/') = '/0';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user