mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
Fix typos found by codespell
This commit is contained in:
parent
bffc5d733b
commit
28486553f8
@ -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;
|
||||
|
@ -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);
|
||||
|
@ -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
4
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" "$@"
|
||||
exec "$cmake_bin" "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user