Commit b6a3ce93 authored by Max Kellermann's avatar Max Kellermann

db/proxy: fix inconsistent error handling in VisitUniqueTags()

parent b07495aa
......@@ -808,9 +808,8 @@ ProxyDatabase::VisitUniqueTags(const DatabaseSelection &selection,
result = visit_tag(tag.Commit(), error);
}
return mpd_response_finish(connection) &&
CheckError(connection, error) &&
result;
mpd_response_finish(connection);
return result && CheckError(connection, error);
}
bool
......
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