[4/5] winhttp/tests: Use the right handle type.

Hans Leidekker hans at codeweavers.com
Thu Apr 22 09:35:56 CDT 2010


---
 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 c8940a5..b427081 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;
-- 
1.7.0.4







More information about the wine-patches mailing list