diff options
author | Max Kellermann <max@musicpd.org> | 2019-06-15 14:06:50 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2019-06-15 14:06:50 +0200 |
commit | fcf641596322d6d51176593fe3df8d16b8f29934 (patch) | |
tree | e3806fd93b5559fa0a019028ed10e1603dc91cd6 /src/input | |
parent | be79b44dc873f7bff3bcdbb0353bb4036e140794 (diff) |
archive/Lookup: pass class Path
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/plugins/ArchiveInputPlugin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/plugins/ArchiveInputPlugin.cxx b/src/input/plugins/ArchiveInputPlugin.cxx index d4bf86544..769b67c58 100644 --- a/src/input/plugins/ArchiveInputPlugin.cxx +++ b/src/input/plugins/ArchiveInputPlugin.cxx @@ -34,7 +34,7 @@ OpenArchiveInputStream(Path path, Mutex &mutex) // archive_lookup will modify pname when true is returned ArchiveLookupResult l; try { - l = archive_lookup(path.c_str()); + l = archive_lookup(path); if (l.archive.IsNull()) { return nullptr; } |