wininet: Return the correct error code (Clang)

André Hentschel nerv at dawncrow.de
Tue Dec 22 15:00:36 CST 2015


Signed-off-by: André Hentschel <nerv at dawncrow.de>
---
 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;
 }
 
 /***********************************************************************
-- 
1.9.1





More information about the wine-patches mailing list