mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-05-20 07:26:58 -04:00
Fix typos found by codespell (#234)
This commit is contained in:
committed by
GitHub
parent
bffc5d733b
commit
7bef2ccc68
@@ -64,4 +64,3 @@ void GatewayAuthenticatorParams::setInputStr(const QString &inputStr)
|
||||
{
|
||||
m_inputStr = inputStr;
|
||||
}
|
||||
|
||||
|
@@ -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;
|
||||
|
@@ -172,7 +172,7 @@ bool gpclient::helper::settings::secureGet(const QString &key, QString &value) {
|
||||
if ( job.error() ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
value = pw;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
@@ -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);
|
||||
|
@@ -172,4 +172,3 @@ void PortalConfigResponse::setPrelogonUserAuthCookie(const QString cookie)
|
||||
{
|
||||
m_prelogonAuthCookie = cookie;
|
||||
}
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#include "vpn_json.h"
|
||||
#include <QTextStream>
|
||||
#include <QTextStream>
|
||||
#include <QJsonDocument>
|
||||
#include <QJsonObject>
|
||||
#include <QJsonArray>
|
||||
|
Reference in New Issue
Block a user