diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index 9ddd8855f74..b676f48100c 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -2800,8 +2800,6 @@ HINTERNET HTTP_Connect(LPWININETAPPINFOW hIC, LPCWSTR lpszServerName, assert( hIC->hdr.htype == WH_HINIT ); - hIC->hdr.dwContext = dwContext; - lpwhs = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(WININETHTTPSESSIONW)); if (NULL == lpwhs) { diff --git a/dlls/wininet/tests/http.c b/dlls/wininet/tests/http.c index f76d88dd5a5..699aaa01089 100644 --- a/dlls/wininet/tests/http.c +++ b/dlls/wininet/tests/http.c @@ -458,7 +458,7 @@ abort: if (flags & INTERNET_FLAG_ASYNC) Sleep(100); } - todo_wine CHECK_NOTIFIED2(INTERNET_STATUS_HANDLE_CLOSING, (hor != 0x0) + (hic != 0x0)); + CHECK_NOTIFIED2(INTERNET_STATUS_HANDLE_CLOSING, (hor != 0x0) + (hic != 0x0)); if (hor != 0x0) todo_wine { CHECK_NOT_NOTIFIED(INTERNET_STATUS_CLOSING_CONNECTION); @@ -719,7 +719,7 @@ abort: ok ((rc != 0), "InternetCloseHandle of handle opened by InternetOpenA failed\n"); if (flags & INTERNET_FLAG_ASYNC) Sleep(100); - todo_wine CHECK_NOTIFIED2(INTERNET_STATUS_HANDLE_CLOSING, (hor != 0x0) + (hic != 0x0)); + CHECK_NOTIFIED2(INTERNET_STATUS_HANDLE_CLOSING, (hor != 0x0) + (hic != 0x0)); } CloseHandle(hCompleteEvent); first_connection_to_test_url = FALSE;