diff options
author | Max Kellermann <max@duempel.org> | 2008-12-16 21:15:20 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-12-16 21:15:20 +0100 |
commit | 3287726736a0432d2316914767b397caab0fd11f (patch) | |
tree | 3e41cffa2495da765e68fd517fcb79b97bfbaa0f /src/playlist_save.c | |
parent | 3d4fb9a9a64b60d936e04c13fc391a274822b6b3 (diff) | |
download | mpd-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 '')
-rw-r--r-- | src/playlist_save.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist_save.c b/src/playlist_save.c index 4ae965154..2568d4293 100644 --- a/src/playlist_save.c +++ b/src/playlist_save.c @@ -46,7 +46,7 @@ playlist_print_uri(FILE *file, const char *uri) char tmp[MPD_PATH_MAX]; const char *s; - if (playlist_saveAbsolutePaths && !isValidRemoteUtf8Url(uri) && + if (playlist_saveAbsolutePaths && !isRemoteUrl(uri) && uri[0] != '/') s = map_directory_child_fs(db_get_root(), uri, tmp); else |