1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-09-18 01:33:00 +03:00

Merge PR #610: src/Cedar/Admin.c: remove unused condition, make coverity scan cleaner

This commit is contained in:
Davide Beatrici 2018-08-05 19:56:59 +02:00 committed by GitHub
commit 4cbdcb6b20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -188,7 +188,7 @@
return err; \
}
#define CHECK_RIGHT \
if (a->ServerAdmin == false && (t->HubName == NULL || StrCmpi(a->HubName, t->HubName) != 0)) \
if (a->ServerAdmin == false && (StrCmpi(a->HubName, t->HubName) != 0)) \
return ERR_NOT_ENOUGH_RIGHT; \
if (IsEmptyStr(t->HubName)) \
return ERR_INVALID_PARAMETER;