Jacek Caban : wininet: Correctly handle the last proxy override in HTTP_ShouldBypassProxy.
Module: wine Branch: master Commit: fff5dca78786060e8c9741fa7d41b153b937be6e URL: http://source.winehq.org/git/wine.git/?a=commit;h=fff5dca78786060e8c9741fa7d... Author: Jacek Caban <jacek(a)codeweavers.com> Date: Tue May 31 19:42:53 2016 +0200 wininet: Correctly handle the last proxy override in HTTP_ShouldBypassProxy. Signed-off-by: Jacek Caban <jacek(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/wininet/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index ed5105d..a468a84 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -1771,7 +1771,7 @@ static BOOL HTTP_ShouldBypassProxy(appinfo_t *lpwai, LPCWSTR server) if (!ptr) ptr = strchrW( tmp, ' ' ); if (!ptr) - ptr = tmp + strlenW(ptr); + ptr = tmp + strlenW(tmp); ret = HTTP_DomainMatches( server, substr(tmp, ptr-tmp) ); if (ret || !*ptr) break;
participants (1)
-
Alexandre Julliard