mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-24 06:05:56 -05:00
fix the hidden directory thing
This commit is contained in:
parent
01180d60f1
commit
b02eed1195
@ -318,7 +318,7 @@ int scan_path(char *path) {
|
||||
if(!pde)
|
||||
break;
|
||||
|
||||
if(pde->d_name[0] == '.') /* skip hidden and directories */
|
||||
if(!strcmp(pde->d_name,".") || !strcmp(pde->d_name,".."))
|
||||
continue;
|
||||
|
||||
snprintf(relative_path,PATH_MAX,"%s/%s",path,pde->d_name);
|
||||
|
Loading…
Reference in New Issue
Block a user