refactor: remove redundant c_str when setting logError

This commit is contained in:
sithlord48 2026-03-26 19:12:43 -04:00 committed by Nick Bolton
parent bcc5a12d37
commit ca6220ad30

View file

@ -297,7 +297,7 @@ bool SecureSocket::loadCertificate(const QString &filename)
if (!QFile::exists(filename)) {
std::string errorMsg("tls certificate doesn't exist: ");
errorMsg.append(filename.toStdString());
SslLogger::logError(errorMsg.c_str());
SslLogger::logError(errorMsg);
return false;
}