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()
|
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
|
// Treat the portal input as the gateway address
|
||||||
GPGateway g;
|
GPGateway g;
|
||||||
|
@ -32,7 +32,7 @@ void PortalAuthenticator::authenticate()
|
|||||||
{
|
{
|
||||||
attempts++;
|
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);
|
QNetworkReply *reply = createRequest(preloginUrl);
|
||||||
connect(reply, &QNetworkReply::finished, this, &PortalAuthenticator::onPreloginFinished);
|
connect(reply, &QNetworkReply::finished, this, &PortalAuthenticator::onPreloginFinished);
|
||||||
|
@ -136,7 +136,7 @@ void GPService::connect(QString server, QString username, QString passwd)
|
|||||||
<< "--cookie-on-stdin"
|
<< "--cookie-on-stdin"
|
||||||
<< server;
|
<< server;
|
||||||
|
|
||||||
log("Start process with arugments: " + args.join(", "));
|
log("Start process with arguments: " + args.join(", "));
|
||||||
|
|
||||||
openconnect->start(bin, args);
|
openconnect->start(bin, args);
|
||||||
openconnect->write((passwd + "\n").toUtf8());
|
openconnect->write((passwd + "\n").toUtf8());
|
||||||
|
4
cmakew
4
cmakew
@ -36,7 +36,7 @@ fi
|
|||||||
cmake_base="./.cmake"
|
cmake_base="./.cmake"
|
||||||
cmake_bin="${cmake_base}/cmake-$cmake_version/bin/cmake"
|
cmake_bin="${cmake_base}/cmake-$cmake_version/bin/cmake"
|
||||||
|
|
||||||
# download cmake if neccessary
|
# download cmake if necessary
|
||||||
if [ ! -f "$cmake_bin" ]; then
|
if [ ! -f "$cmake_bin" ]; then
|
||||||
download_link=""
|
download_link=""
|
||||||
|
|
||||||
@ -99,4 +99,4 @@ if [ "$cygwin" = true ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# run cmake
|
# run cmake
|
||||||
exec "$cmake_bin" "$@"
|
exec "$cmake_bin" "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user