1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-12-25 17:49:52 +03:00

Merge PR #934: src/Cedar/Admin.c: remove redundant check

This commit is contained in:
Davide Beatrici 2019-07-06 07:59:03 +02:00 committed by GitHub
commit 50e39826e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -411,7 +411,7 @@ bool AdminWebHandleFileRequest(ADMIN *a, CONNECTION *c, SOCK *s, HTTP_HEADER *h,
bool ret = false;
char url[MAX_PATH];
UINT i, len;
if (a == NULL || c == NULL || s == NULL || h == NULL || url == NULL || query_string == NULL ||
if (a == NULL || c == NULL || s == NULL || h == NULL || query_string == NULL ||
virtual_root_dir == NULL || physical_root_dir == NULL)
{
return false;