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