mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-20 04:24:20 -04:00
[filescanner] Fixup code style
This commit is contained in:
parent
c908ceff4e
commit
5c3f1e9263
@ -1321,8 +1321,6 @@ process_inotify_file(struct watch_info *wi, char *path, struct inotify_event *ie
|
|||||||
|
|
||||||
if (ie->mask & IN_CLOSE_WRITE)
|
if (ie->mask & IN_CLOSE_WRITE)
|
||||||
{
|
{
|
||||||
int follow_symlinks = cfg_getbool(cfg_getsec(cfg, "library"), "follow_symlinks");
|
|
||||||
|
|
||||||
DPRINTF(E_DBG, L_SCAN, "File closed: %s\n", path);
|
DPRINTF(E_DBG, L_SCAN, "File closed: %s\n", path);
|
||||||
|
|
||||||
// File has been closed so remove from the IN_ATTRIB ignore list
|
// File has been closed so remove from the IN_ATTRIB ignore list
|
||||||
@ -1342,7 +1340,7 @@ process_inotify_file(struct watch_info *wi, char *path, struct inotify_event *ie
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_link && !follow_symlinks)
|
if (is_link && !cfg_getbool(cfg_getsec(cfg, "library"), "follow_symlinks"))
|
||||||
{
|
{
|
||||||
DPRINTF(E_DBG, L_SCAN, "Ignore symlink %s\n", path);
|
DPRINTF(E_DBG, L_SCAN, "Ignore symlink %s\n", path);
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user