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:
Max Kellermann 2019-07-29 11:08:47 +02:00
parent 426891ab31
commit a2d2210713
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}