aboutsummaryrefslogtreecommitdiffstats
path: root/src/stored_playlist.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-12-16 21:15:20 +0100
committerMax Kellermann <max@duempel.org>2008-12-16 21:15:20 +0100
commit3287726736a0432d2316914767b397caab0fd11f (patch)
tree3e41cffa2495da765e68fd517fcb79b97bfbaa0f /src/stored_playlist.c
parent3d4fb9a9a64b60d936e04c13fc391a274822b6b3 (diff)
downloadmpd-3287726736a0432d2316914767b397caab0fd11f.tar.gz
mpd-3287726736a0432d2316914767b397caab0fd11f.tar.xz
mpd-3287726736a0432d2316914767b397caab0fd11f.zip
ls: removed isValidRemoteUtf8Url()
The function didn't do anything useful, it was just several lines obfuscating that it was only forwarding isRemoteUrl()'s return value.
Diffstat (limited to 'src/stored_playlist.c')
-rw-r--r--src/stored_playlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stored_playlist.c b/src/stored_playlist.c
index cadd2ccdf..5c2d46709 100644
--- a/src/stored_playlist.c
+++ b/src/stored_playlist.c
@@ -156,7 +156,7 @@ spl_load(const char *utf8path)
if (*s == PLAYLIST_COMMENT)
continue;
- if (!isValidRemoteUtf8Url(s)) {
+ if (!isRemoteUrl(s)) {
struct song *song;
path_utf8 = map_fs_to_utf8(s, path_max_tmp);
@@ -360,7 +360,7 @@ spl_append_uri(const char *url, const char *utf8file)
if (song)
return spl_append_song(utf8file, song);
- if (!isValidRemoteUtf8Url(url))
+ if (!isRemoteUrl(url))
return PLAYLIST_RESULT_NO_SUCH_SONG;
song = song_remote_new(url);