wine/dlls/wininet http.c
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Nov 28 05:06:33 CST 2005
ChangeSet ID: 21491
CVSROOT: /opt/cvs-commit
Module name: wine
Changes by: julliard at winehq.org 2005/11/28 05:06:33
Modified files:
dlls/wininet : http.c
Log message:
Robert Shearman <rob at codeweavers.com>
Fix "http://" prefix detection on the proxy URL.
Patch: http://cvs.winehq.org/patch.py?id=21491
Old revision New revision Changes Path
1.119 1.120 +2 -2 wine/dlls/wininet/http.c
Index: wine/dlls/wininet/http.c
diff -u -p wine/dlls/wininet/http.c:1.119 wine/dlls/wininet/http.c:1.120
--- wine/dlls/wininet/http.c:1.119 28 Nov 2005 11: 6:33 -0000
+++ wine/dlls/wininet/http.c 28 Nov 2005 11: 6:33 -0000
@@ -898,10 +898,10 @@ static BOOL HTTP_DealWithProxy( LPWININE
UrlComponents.dwHostNameLength = MAXHOSTNAME;
if( CSTR_EQUAL != CompareStringW(LOCALE_SYSTEM_DEFAULT, NORM_IGNORECASE,
- buf,strlenW(szHttp),szHttp,strlenW(szHttp)) )
+ hIC->lpszProxy,strlenW(szHttp),szHttp,strlenW(szHttp)) )
sprintfW(proxy, szFormat1, hIC->lpszProxy);
else
- strcpyW(proxy,buf);
+ strcpyW(proxy, hIC->lpszProxy);
if( !InternetCrackUrlW(proxy, 0, 0, &UrlComponents) )
return FALSE;
if( UrlComponents.dwHostNameLength == 0 )
More information about the wine-cvs
mailing list