wininet: Don't send INTERNET_STATUS_REQUEST_COMPLETE notification from FTP_Connect.

This commit is contained in:
Jacek Caban 2009-02-10 16:31:19 +01:00 committed by Alexandre Julliard
parent 19b01f2fca
commit 08e4846fca

View File

@ -2477,16 +2477,6 @@ lerror:
handle = NULL;
}
if (hIC->hdr.dwFlags & INTERNET_FLAG_ASYNC)
{
INTERNET_ASYNC_RESULT iar;
iar.dwResult = bSuccess ? (DWORD_PTR)lpwfs : 0;
iar.dwError = bSuccess ? ERROR_SUCCESS : INTERNET_GetLastError();
SendAsyncCallback(&hIC->hdr, dwContext, INTERNET_STATUS_REQUEST_COMPLETE,
&iar, sizeof(INTERNET_ASYNC_RESULT));
}
return handle;
}