* Patch from Luiz Americo to remove redundant test

git-svn-id: trunk@23335 -
This commit is contained in:
michael 2013-01-07 10:36:46 +00:00
parent 2a9e12c709
commit b315d35819

View File

@ -417,7 +417,7 @@ var ErrorCode,
r : TFCGIRequest;
begin
if Not (Assigned(Request) and (Request is TFCGIRequest)) then
if Not (Request is TFCGIRequest) then
Raise Exception.Create(SErrNorequest);
R:=TFCGIRequest(Request);
BytesToWrite := BEtoN(ARecord^.contentLength) + ARecord^.paddingLength+sizeof(FCGI_Header);