wininet: Disabling proxy should return success when no proxy was enabled.

Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Müller 2015-10-09 01:29:53 +02:00 committed by Alexandre Julliard
parent 09cd89c0cc
commit 54a390b4ac
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,7 @@ static LONG INTERNET_SaveProxySettings( proxyinfo_t *lpwpi )
}
else
{
if ((ret = RegDeleteValueW( key, szProxyServer )))
if ((ret = RegDeleteValueW( key, szProxyServer )) && ret != ERROR_FILE_NOT_FOUND)
{
RegCloseKey( key );
return ret;