wininet: Fix UrlComponents initialisation

André Hentschel nerv at dawncrow.de
Mon Sep 26 12:40:15 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=28502
---
 dlls/wininet/internet.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c
index 79ec790..f9e8dea 100644
--- a/dlls/wininet/internet.c
+++ b/dlls/wininet/internet.c
@@ -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))
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list