Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/SoftEtherVPN/SoftEtherVPN_Stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaiyuu Nobori <da.git@softether.co.jp>2017-10-18 10:36:24 +0300
committerGitHub <noreply@github.com>2017-10-18 10:36:24 +0300
commitb61882598f90de1af5130022caed9eddfb73c57c (patch)
tree0eebde9098a825f4b26ddc972e8dfde2067da16b /src/Cedar/Client.c
parente9006faf0c8739147ab97e27fe11c5cdd20ed9e6 (diff)
parent78bcc07fa9cbbcaff21c8fad95eac52174c8cbb3 (diff)
Merge pull request #256 from cm0x4D/master
Using client parameter in function CtConnect
Diffstat (limited to 'src/Cedar/Client.c')
-rw-r--r--src/Cedar/Client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Cedar/Client.c b/src/Cedar/Client.c
index ccfbe665..c4aa26d7 100644
--- a/src/Cedar/Client.c
+++ b/src/Cedar/Client.c
@@ -6663,7 +6663,7 @@ bool CtConnect(CLIENT *c, RPC_CLIENT_CONNECT *connect)
CiSetError(c, ERR_ACCOUNT_ACTIVE);
}
else if (r->ClientAuth->AuthType == CLIENT_AUTHTYPE_SECURE &&
- client->UseSecureDeviceId == 0)
+ c->UseSecureDeviceId == 0)
{
// Secure device is not specified
CiSetError(c, ERR_NO_SECURE_DEVICE_SPECIFIED);