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/input/plugins/ArchiveInputPlugin.cxx | |
parent | 9906daeca71b7e552721f85f3696d9e6a20f7a5b (diff) | |
download | mpd-fe7c6fee348a3263ce0c97a83547749725f681cb.tar.gz mpd-fe7c6fee348a3263ce0c97a83547749725f681cb.tar.xz mpd-fe7c6fee348a3263ce0c97a83547749725f681cb.zip |
ArchivePlugin: pass Path to open()
Diffstat (limited to 'src/input/plugins/ArchiveInputPlugin.cxx')
-rw-r--r-- | src/input/plugins/ArchiveInputPlugin.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input/plugins/ArchiveInputPlugin.cxx b/src/input/plugins/ArchiveInputPlugin.cxx index 8e1b216d8..f49669674 100644 --- a/src/input/plugins/ArchiveInputPlugin.cxx +++ b/src/input/plugins/ArchiveInputPlugin.cxx @@ -26,6 +26,7 @@ #include "archive/ArchiveFile.hxx" #include "../InputPlugin.hxx" #include "fs/Traits.hxx" +#include "fs/Path.hxx" #include "util/Alloc.hxx" #include "Log.hxx" @@ -69,7 +70,7 @@ input_archive_open(const char *pathname, return nullptr; } - auto file = archive_file_open(arplug, archive, error); + auto file = archive_file_open(arplug, Path::FromFS(archive), error); if (file == nullptr) { free(pname); return nullptr; |