aboutsummaryrefslogtreecommitdiffstats
path: root/src/db
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-08 13:21:50 +0100
committerMax Kellermann <max@duempel.org>2014-02-08 13:25:44 +0100
commitfe7c6fee348a3263ce0c97a83547749725f681cb (patch)
tree9773e269458ed7847fa9d566a20dfdd6db89b59a /src/db
parent9906daeca71b7e552721f85f3696d9e6a20f7a5b (diff)
downloadmpd-fe7c6fee348a3263ce0c97a83547749725f681cb.tar.gz
mpd-fe7c6fee348a3263ce0c97a83547749725f681cb.tar.xz
mpd-fe7c6fee348a3263ce0c97a83547749725f681cb.zip
ArchivePlugin: pass Path to open()
Diffstat (limited to '')
-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 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)