Commit 3f014882 authored by Andreas Mohr's avatar Andreas Mohr Committed by Alexandre Julliard

InternetCloseHandle didn't return TRUE in all appropriate cases.

parent 08a11479
......@@ -431,14 +431,17 @@ BOOL WINAPI InternetCloseHandle(HINTERNET hInternet)
{
case WH_HINIT:
INTERNET_CloseHandle((LPWININETAPPINFOA) lpwh);
retval = TRUE;
break;
case WH_HHTTPSESSION:
HTTP_CloseHTTPSessionHandle((LPWININETHTTPSESSIONA) lpwh);
retval = TRUE;
break;
case WH_HHTTPREQ:
HTTP_CloseHTTPRequestHandle((LPWININETHTTPREQA) lpwh);
retval = TRUE;
break;
case WH_HFTPSESSION:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment