Commit a2d22107 authored by Max Kellermann's avatar Max Kellermann

ls: fix early return in uri_supported_scheme()

parent 426891ab
......@@ -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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment