From fe7c6fee348a3263ce0c97a83547749725f681cb Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 8 Feb 2014 13:21:50 +0100 Subject: ArchivePlugin: pass Path to open() --- src/db/update/Archive.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/db') 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) -- cgit v1.2.3