mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 09:29:52 +03:00
Merge PR #934: src/Cedar/Admin.c: remove redundant check
This commit is contained in:
commit
50e39826e4
@ -411,7 +411,7 @@ bool AdminWebHandleFileRequest(ADMIN *a, CONNECTION *c, SOCK *s, HTTP_HEADER *h,
|
|||||||
bool ret = false;
|
bool ret = false;
|
||||||
char url[MAX_PATH];
|
char url[MAX_PATH];
|
||||||
UINT i, len;
|
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)
|
virtual_root_dir == NULL || physical_root_dir == NULL)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user