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:
Diffstat (limited to 'src/Cedar/EtherLog.c')
-rw-r--r--src/Cedar/EtherLog.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/Cedar/EtherLog.c b/src/Cedar/EtherLog.c
index 1b4aba8a..77dd93ea 100644
--- a/src/Cedar/EtherLog.c
+++ b/src/Cedar/EtherLog.c
@@ -1,19 +1,19 @@
// SoftEther VPN Source Code - Stable Edition Repository
// Cedar Communication Module
//
-// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
+// SoftEther VPN Server, Client and Bridge are free software under the Apache License, Version 2.0.
//
// Copyright (c) Daiyuu Nobori.
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
// Copyright (c) SoftEther Corporation.
+Copyright (c) all contributors on SoftEther VPN project in GitHub.
//
// All Rights Reserved.
//
// http://www.softether.org/
//
-// Author: Daiyuu Nobori, Ph.D.
-// Comments: Tetsuo Sugiyama, Ph.D.
-//
+// This stable branch is officially managed by Daiyuu Nobori, the owner of SoftEther VPN Project.
+// Pull requests should be sent to the Developer Edition Master Repository on https://github.com/SoftEtherVPN/SoftEtherVPN
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// version 2 as published by the Free Software Foundation.
@@ -276,16 +276,18 @@ UINT EcConnect(char *host, UINT port, char *password, RPC **rpc)
// RPC server function
PACK *ElRpcServer(RPC *r, char *name, PACK *p)
{
- EL *e = (EL *)r->Param;
+ EL *e;
PACK *ret;
UINT err;
bool ok;
// Validate arguments
- if (r == NULL || name == NULL || p == NULL || e == NULL)
+ if (r == NULL || name == NULL || p == NULL || r->Param == NULL)
{
return NULL;
}
+ e = (EL *)r->Param;
+
ret = NewPack();
err = ERR_NO_ERROR;
ok = false;