aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist/PlaylistStream.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-03-01 01:09:53 +0100
committerMax Kellermann <max@duempel.org>2015-03-01 01:09:53 +0100
commit7ce96585f5e0a5786f17d7996252b5c58e60d0ed (patch)
tree32cba161d309fb1a8afc303d6813c55c5c707233 /src/playlist/PlaylistStream.cxx
parent41cc31c124686304f2ce7098c16ab27b5f88057e (diff)
downloadmpd-7ce96585f5e0a5786f17d7996252b5c58e60d0ed.tar.gz
mpd-7ce96585f5e0a5786f17d7996252b5c58e60d0ed.tar.xz
mpd-7ce96585f5e0a5786f17d7996252b5c58e60d0ed.zip
fs/Path: add method GetSuffix()
Type-safe wrapper for uri_get_suffix().
Diffstat (limited to 'src/playlist/PlaylistStream.cxx')
-rw-r--r--src/playlist/PlaylistStream.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist/PlaylistStream.cxx b/src/playlist/PlaylistStream.cxx
index 32e049c78..b0febba2b 100644
--- a/src/playlist/PlaylistStream.cxx
+++ b/src/playlist/PlaylistStream.cxx
@@ -35,7 +35,7 @@ playlist_open_path_suffix(Path path, Mutex &mutex, Cond &cond)
{
assert(!path.IsNull());
- const char *suffix = uri_get_suffix(path.c_str());
+ const char *suffix = path.GetSuffix();
if (suffix == nullptr || !playlist_suffix_supported(suffix))
return nullptr;