Commit 54a390b4 authored by Michael Müller's avatar Michael Müller Committed by Alexandre Julliard

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

parent 09cd89c0
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment