db/proxy: fix inconsistent error handling in VisitUniqueTags()
This commit is contained in:
parent
b07495aae9
commit
b6a3ce9305
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue