ArchivePlugin: pass Path to open()

This commit is contained in:
Max Kellermann
2014-02-08 13:21:50 +01:00
parent 9906daeca7
commit fe7c6fee34
8 changed files with 25 additions and 17 deletions

View File

@@ -85,7 +85,7 @@ main(int argc, char **argv)
int result = EXIT_SUCCESS;
ArchiveFile *file = archive_file_open(plugin, path.c_str(), error);
ArchiveFile *file = archive_file_open(plugin, path, error);
if (file != nullptr) {
MyArchiveVisitor visitor;
file->Visit(visitor);