From 28486553f871a1fe580b6f6289625d3b814304ef Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sun, 7 May 2023 15:13:30 +0200 Subject: [PATCH] Fix typos found by codespell --- GPClient/gpclient.cpp | 2 +- GPClient/portalauthenticator.cpp | 2 +- GPService/gpservice.cpp | 2 +- cmakew | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/GPClient/gpclient.cpp b/GPClient/gpclient.cpp index a68d7c6..6137eff 100644 --- a/GPClient/gpclient.cpp +++ b/GPClient/gpclient.cpp @@ -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; diff --git a/GPClient/portalauthenticator.cpp b/GPClient/portalauthenticator.cpp index b87f4ae..6ba00ce 100644 --- a/GPClient/portalauthenticator.cpp +++ b/GPClient/portalauthenticator.cpp @@ -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); diff --git a/GPService/gpservice.cpp b/GPService/gpservice.cpp index fea98b1..acfb646 100644 --- a/GPService/gpservice.cpp +++ b/GPService/gpservice.cpp @@ -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()); diff --git a/cmakew b/cmakew index 1d73db0..2cdacc2 100755 --- a/cmakew +++ b/cmakew @@ -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" "$@" \ No newline at end of file +exec "$cmake_bin" "$@"