Skip to content

Commit

Permalink
Fix error in logic.
Browse files Browse the repository at this point in the history
Signed-off-by: alex-z <blackslayer4@gmail.com>
  • Loading branch information
allexzander committed Oct 10, 2022
1 parent afa55e0 commit 58e4efd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/simplesslerrorhandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ bool SimpleSslErrorHandler::handleErrors(QList<QSslError> errors, const QSslConf

for (const auto &error : qAsConst(errors)) {
if (!account->approvedCerts().contains(error.certificate())) {
certs->append(error.certificate());
return false;
}
certs->append(error.certificate());
}

return true;
Expand Down

0 comments on commit 58e4efd

Please sign in to comment.