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:
parent
09cd89c0cc
commit
54a390b4ac
|
@ -359,7 +359,7 @@ static LONG INTERNET_SaveProxySettings( proxyinfo_t *lpwpi )
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if ((ret = RegDeleteValueW( key, szProxyServer )))
|
if ((ret = RegDeleteValueW( key, szProxyServer )) && ret != ERROR_FILE_NOT_FOUND)
|
||||||
{
|
{
|
||||||
RegCloseKey( key );
|
RegCloseKey( key );
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in New Issue