=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: wininet: Return the correct error code (Clang).

Alexandre Julliard julliard at wine.codeweavers.com
Wed Dec 23 18:22:06 CST 2015


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Tue Dec 22 22:00:36 2015 +0100

wininet: Return the correct error code (Clang).

Signed-off-by: André Hentschel <nerv at dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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

diff --git a/dlls/wininet/cookie.c b/dlls/wininet/cookie.c
index 4784b33..36346d5 100644
--- a/dlls/wininet/cookie.c
+++ b/dlls/wininet/cookie.c
@@ -720,7 +720,7 @@ DWORD get_cookie_header(const WCHAR *host, const WCHAR *path, WCHAR **ret)
     }
 
     LeaveCriticalSection(&cookie_cs);
-    return ERROR_SUCCESS;
+    return res;
 }
 
 /***********************************************************************




More information about the wine-cvs mailing list