Hans Leidekker : winhttp/tests: Use the right handle type.

Alexandre Julliard julliard at winehq.org
Thu Apr 22 11:24:06 CDT 2010


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Thu Apr 22 16:35:56 2010 +0200

winhttp/tests: Use the right handle type.

---

 dlls/winhttp/tests/winhttp.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dlls/winhttp/tests/winhttp.c b/dlls/winhttp/tests/winhttp.c
index 250f317..140379d 100644
--- a/dlls/winhttp/tests/winhttp.c
+++ b/dlls/winhttp/tests/winhttp.c
@@ -227,7 +227,7 @@ static void test_empty_headers_param(void)
 {
     static const WCHAR winehq[] = {'w','i','n','e','h','q','.','o','r','g',0};
     static const WCHAR empty[]  = {0};
-    HANDLE ses, con, req;
+    HINTERNET ses, con, req;
     BOOL ret;
 
     ses = WinHttpOpen(test_useragent, 0, NULL, NULL, 0);
@@ -761,7 +761,7 @@ static void test_secure_connection(void)
 {
     static const WCHAR google[] = {'w','w','w','.','g','o','o','g','l','e','.','c','o','m',0};
 
-    HANDLE ses, con, req;
+    HINTERNET ses, con, req;
     DWORD size, status, policy, bitness;
     BOOL ret;
     CERT_CONTEXT *cert;
@@ -836,7 +836,7 @@ static void test_request_parameter_defaults(void)
     static const WCHAR empty[] = {0};
     static const WCHAR codeweavers[] = {'c','o','d','e','w','e','a','v','e','r','s','.','c','o','m',0};
 
-    HANDLE ses, con, req;
+    HINTERNET ses, con, req;
     DWORD size, status, error;
     WCHAR *version;
     BOOL ret;
@@ -1632,7 +1632,7 @@ static void test_resolve_timeout(void)
     static const WCHAR codeweavers[] = {'c','o','d','e','w','e','a','v','e','r','s','.','c','o','m',0};
     static const WCHAR srevaewedoc[] = {'s','r','e','v','a','e','w','e','d','o','c','.','m','o','c',0};
 
-    HANDLE ses, con, req;
+    HINTERNET ses, con, req;
     DWORD timeout;
     BOOL ret;
 
@@ -1922,7 +1922,7 @@ static void test_credentials(void)
     static WCHAR passW[] = {'p','a','s','s',0};
     static WCHAR proxy_userW[] = {'p','r','o','x','y','u','s','e','r',0};
     static WCHAR proxy_passW[] = {'p','r','o','x','y','p','a','s','s',0};
-    HANDLE ses, con, req;
+    HINTERNET ses, con, req;
     DWORD size, error;
     WCHAR buffer[32];
     BOOL ret;




More information about the wine-cvs mailing list