mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-25 21:53:17 -05:00
Another attempt at #153
This commit is contained in:
parent
eb403982b8
commit
a533430540
@ -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';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user