Commit 65bbb975 authored by Max Kellermann's avatar Max Kellermann

command/fingerprint: fix inverted check

parent c129ca9f
......@@ -345,7 +345,7 @@ handle_getfingerprint(Client &client, Request args, Response &)
lu.path = storage->MapFS(lu.canonical_uri);
if (lu.path.IsNull()) {
uri = storage->MapUTF8(lu.canonical_uri);
if (uri_has_scheme(uri.c_str()))
if (!uri_has_scheme(uri.c_str()))
throw ProtocolError(ACK_ERROR_NO_EXIST, "No such song");
}
}
......
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