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

This commit is contained in:
Davide Beatrici authored and GitHub committed 2019-07-06 07:59:03 +02:00
commit 50e39826e4
1 file changed
+1 -1
+1 -1
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;