=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: wininet: Fix UrlComponents initialisation.

Alexandre Julliard julliard at winehq.org
Mon Sep 26 16:15:13 CDT 2011


Module: wine
Branch: master
Commit: c09e6bf881eb647245eee637a7e943206b7c8176
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c09e6bf881eb647245eee637a7e943206b7c8176

Author: André Hentschel <nerv at dawncrow.de>
Date:   Mon Sep 26 19:40:15 2011 +0200

wininet: Fix UrlComponents initialisation.

---

 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))




More information about the wine-cvs mailing list