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>2016-11-27 11:25:03 +0300
committerGitHub <noreply@github.com>2016-11-27 11:25:03 +0300
commit5cae447c79119509bdf2ccdd64bee839bf2d3013 (patch)
tree9381127b64a4ad86ef6df4861a9c63f7437ff3d7 /src/Cedar/SM.c
parent36591082c457f0c8c1f8813f0fd5716ec7b51776 (diff)
parentd1ea47eb66e87a25d821a81af780ca30c0963929 (diff)
Merge pull request #229 from chipitsine/master
cppcheck issues
Diffstat (limited to 'src/Cedar/SM.c')
-rw-r--r--src/Cedar/SM.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Cedar/SM.c b/src/Cedar/SM.c
index a45213b4..92471e24 100644
--- a/src/Cedar/SM.c
+++ b/src/Cedar/SM.c
@@ -872,7 +872,6 @@ UINT SmDDnsDlg(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam, void *param)
// Get the ddns key from the server configuration file
static UINT SmDdnsGetKey(char *key, SM_DDNS *d){
- RPC *rpc = d->s->Rpc;
RPC_CONFIG config;
UINT err;
BUF *buf;
@@ -882,6 +881,7 @@ static UINT SmDdnsGetKey(char *key, SM_DDNS *d){
if(d == NULL || d->s == NULL || key == NULL){
return ERR_INTERNAL_ERROR;
}
+ RPC *rpc = d->s->Rpc;
Zero(&config, sizeof(config));
err = ScGetConfig(d->s->Rpc, &config);