wininet: Correctly handle the last proxy override in HTTP_ShouldBypassProxy.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2016-05-31 19:42:53 +02:00 committed by Alexandre Julliard
parent b18ecadef7
commit fff5dca787
1 changed files with 1 additions and 1 deletions

View File

@ -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;