diff options
author | Max Kellermann <max@duempel.org> | 2014-02-08 13:21:50 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-08 13:25:44 +0100 |
commit | fe7c6fee348a3263ce0c97a83547749725f681cb (patch) | |
tree | 9773e269458ed7847fa9d566a20dfdd6db89b59a /src/db | |
parent | 9906daeca71b7e552721f85f3696d9e6a20f7a5b (diff) | |
download | mpd-fe7c6fee348a3263ce0c97a83547749725f681cb.tar.gz mpd-fe7c6fee348a3263ce0c97a83547749725f681cb.tar.xz mpd-fe7c6fee348a3263ce0c97a83547749725f681cb.zip |
ArchivePlugin: pass Path to open()
Diffstat (limited to 'src/db')
-rw-r--r-- | src/db/update/Archive.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/update/Archive.cxx b/src/db/update/Archive.cxx index 300922064..54f27a30e 100644 --- a/src/db/update/Archive.cxx +++ b/src/db/update/Archive.cxx @@ -125,7 +125,7 @@ UpdateWalk::UpdateArchiveFile(Directory &parent, const char *name, /* open archive */ Error error; - ArchiveFile *file = archive_file_open(&plugin, path_fs.c_str(), error); + ArchiveFile *file = archive_file_open(&plugin, path_fs, error); if (file == nullptr) { LogError(error); if (directory != nullptr) |