ls: fix early return in uri_supported_scheme()
Fixes regression by commit 4e2a551f30
Closes https://github.com/MusicPlayerDaemon/MPD/issues/599
This commit is contained in:
parent
426891ab31
commit
a2d2210713
|
@ -65,7 +65,8 @@ uri_supported_scheme(const char *uri) noexcept
|
|||
assert(uri_has_scheme(uri));
|
||||
|
||||
input_plugins_for_each_enabled(plugin)
|
||||
return plugin->SupportsUri(uri);
|
||||
if (plugin->SupportsUri(uri))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue