Fix typos found by codespell

This commit is contained in:
Dimitri Papadopoulos 2023-05-07 15:13:30 +02:00
parent bffc5d733b
commit 28486553f8
No known key found for this signature in database
GPG Key ID: 95998121D9D25F5D
4 changed files with 5 additions and 5 deletions

View File

@ -339,7 +339,7 @@ void GPClient::onPortalFail(const QString &msg)
void GPClient::tryGatewayLogin()
{
LOGI << "Try to preform login on the the gateway interface...";
LOGI << "Try to perform login on the the gateway interface...";
// Treat the portal input as the gateway address
GPGateway g;

View File

@ -32,7 +32,7 @@ void PortalAuthenticator::authenticate()
{
attempts++;
LOGI << QString("(%1/%2) attempts").arg(attempts).arg(MAX_ATTEMPTS) << ", preform portal prelogin at " << preloginUrl;
LOGI << QString("(%1/%2) attempts").arg(attempts).arg(MAX_ATTEMPTS) << ", perform portal prelogin at " << preloginUrl;
QNetworkReply *reply = createRequest(preloginUrl);
connect(reply, &QNetworkReply::finished, this, &PortalAuthenticator::onPreloginFinished);

View File

@ -136,7 +136,7 @@ void GPService::connect(QString server, QString username, QString passwd)
<< "--cookie-on-stdin"
<< server;
log("Start process with arugments: " + args.join(", "));
log("Start process with arguments: " + args.join(", "));
openconnect->start(bin, args);
openconnect->write((passwd + "\n").toUtf8());

4
cmakew
View File

@ -36,7 +36,7 @@ fi
cmake_base="./.cmake"
cmake_bin="${cmake_base}/cmake-$cmake_version/bin/cmake"
# download cmake if neccessary
# download cmake if necessary
if [ ! -f "$cmake_bin" ]; then
download_link=""
@ -99,4 +99,4 @@ if [ "$cygwin" = true ]; then
fi
# run cmake
exec "$cmake_bin" "$@"
exec "$cmake_bin" "$@"