aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/update/Archive.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/update/Archive.cxx')
-rw-r--r--src/db/update/Archive.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/update/Archive.cxx b/src/db/update/Archive.cxx
index ab03ea3fa..940448921 100644
--- a/src/db/update/Archive.cxx
+++ b/src/db/update/Archive.cxx
@@ -65,7 +65,7 @@ UpdateWalk::UpdateArchiveTree(Directory &directory, const char *name)
Song *song = directory.FindSong(name);
db_unlock();
if (song == nullptr) {
- song = Song::LoadFile(name, directory);
+ song = Song::LoadFile(storage, name, directory);
if (song != nullptr) {
db_lock();
directory.AddSong(song);