From 7ce96585f5e0a5786f17d7996252b5c58e60d0ed Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 1 Mar 2015 01:09:53 +0100 Subject: fs/Path: add method GetSuffix() Type-safe wrapper for uri_get_suffix(). --- src/playlist/PlaylistStream.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/playlist') 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; -- cgit v1.2.3