wininet: Fix UrlComponents initialisation.

This commit is contained in:
André Hentschel 2011-09-26 19:40:15 +02:00 committed by Alexandre Julliard
parent f8baa37052
commit c09e6bf881
1 changed files with 1 additions and 0 deletions

View File

@ -635,6 +635,7 @@ static BOOL INTERNET_ConfigureProxy( appinfo_t *lpwai )
UrlComponents.dwUserNameLength = INTERNET_MAX_USER_NAME_LENGTH;
UrlComponents.lpszPassword = password;
UrlComponents.dwPasswordLength = INTERNET_MAX_PASSWORD_LENGTH;
UrlComponents.dwUrlPathLength = 0;
UrlComponents.dwExtraInfoLength = 0;
if(InternetCrackUrlW(wpi.proxy, 0, 0, &UrlComponents))