=?UTF-8?Q?Michael=20M=C3=BCller=20?=: wininet: Disabling proxy should return success when no proxy was enabled.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Oct 9 09:55:20 CDT 2015


Module: wine
Branch: master
Commit: 54a390b4ac31e2fac4a476976db6d67055971bf6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=54a390b4ac31e2fac4a476976db6d67055971bf6

Author: Michael Müller <michael at fds-team.de>
Date:   Fri Oct  9 01:29:53 2015 +0200

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

Signed-off-by: Michael Müller <michael at fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wininet/internet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c
index c64816e..9045b03 100644
--- a/dlls/wininet/internet.c
+++ b/dlls/wininet/internet.c
@@ -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;




More information about the wine-cvs mailing list