Dmitry Timoshkov : winhttp/tests: Fix a typo.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Dec 7 08:26:42 CST 2015


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

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Mon Dec  7 13:16:25 2015 +0800

winhttp/tests: Fix a typo.

Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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

diff --git a/dlls/winhttp/tests/winhttp.c b/dlls/winhttp/tests/winhttp.c
index c41ff62..db789b3 100644
--- a/dlls/winhttp/tests/winhttp.c
+++ b/dlls/winhttp/tests/winhttp.c
@@ -2408,7 +2408,7 @@ static void test_basic_authentication(int port)
     ret = WinHttpSetOption(req, WINHTTP_OPTION_USERNAME, userW, lstrlenW(userW));
     ok(ret, "failed to set username %u\n", GetLastError());
 
-    ret = WinHttpSetOption(req, WINHTTP_OPTION_PASSWORD, pass2W, lstrlenW(passW));
+    ret = WinHttpSetOption(req, WINHTTP_OPTION_PASSWORD, passW, lstrlenW(passW));
     ok(ret, "failed to set password %u\n", GetLastError());
 
     ret = WinHttpSetCredentials(req, WINHTTP_AUTH_TARGET_SERVER, WINHTTP_AUTH_SCHEME_BASIC, userW, pass2W, NULL);




More information about the wine-cvs mailing list