wininet/ftp: Remove unneeded check.
This commit is contained in:
parent
e25a16fda5
commit
5f9d7745dc
|
@ -2801,9 +2801,6 @@ static BOOL FTP_RetrieveFileData(LPWININETFTPSESSIONW lpwfs, INT nDataSocket, DW
|
||||||
|
|
||||||
TRACE("\n");
|
TRACE("\n");
|
||||||
|
|
||||||
if (INVALID_HANDLE_VALUE == hFile)
|
|
||||||
return FALSE;
|
|
||||||
|
|
||||||
lpszBuffer = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(CHAR)*DATA_PACKET_SIZE);
|
lpszBuffer = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(CHAR)*DATA_PACKET_SIZE);
|
||||||
if (NULL == lpszBuffer)
|
if (NULL == lpszBuffer)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue