From: Jacek Caban Subject: wininet: Correctly handle the last proxy override in HTTP_ShouldBypassProxy. Message-Id: <574DCD1D.3000506@codeweavers.com> Date: Tue, 31 May 2016 19:42:53 +0200 Signed-off-by: Jacek Caban --- 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;