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.
This commit is contained in:
Max Kellermann
2008-12-16 21:15:20 +01:00
parent 3d4fb9a9a6
commit 3287726736
5 changed files with 4 additions and 46 deletions

View File

@@ -537,7 +537,7 @@ song_by_url(const char *url)
if (song != NULL)
return song;
if (isValidRemoteUtf8Url(url))
if (isRemoteUrl(url))
return song_remote_new(url);
return NULL;