Commit 3c43a656 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

wininet: Properly initialize access type when no proxy is configured.

parent daa2fdfc
......@@ -410,8 +410,11 @@ static BOOL INTERNET_ConfigureProxy( LPWININETAPPINFOW lpwai )
TRACE("http proxy (from environment) = %s\n", debugstr_w(lpwai->lpszProxy));
enabled = 1;
}
if (!enabled) TRACE("Proxy is not enabled.\n");
if (!enabled)
{
TRACE("Proxy is not enabled.\n");
lpwai->dwAccessType = INTERNET_OPEN_TYPE_DIRECT;
}
RegCloseKey( key );
return (enabled > 0);
}
......
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