aboutsummaryrefslogtreecommitdiffstats
path: root/src/directory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/directory.c')
-rw-r--r--src/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/directory.c b/src/directory.c
index ebc4013eb..380232761 100644
--- a/src/directory.c
+++ b/src/directory.c
@@ -188,7 +188,7 @@ directory_walk(const struct directory *directory, bool recursive,
const struct playlist_vector *pv = &directory->playlists;
for (const struct playlist_metadata *i = pv->head;
i != NULL; i = i->next)
- if (!visitor->playlist(i, ctx, error_r))
+ if (!visitor->playlist(i, directory, ctx, error_r))
return false;
}