ChangeSet ID: 21491 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard(a)winehq.org 2005/11/28 05:06:33 Modified files: dlls/wininet : http.c Log message: Robert Shearman <rob(a)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 )
participants (1)
-
Alexandre Julliard