Sven Baars : httpapi/tests: Use CancelIo to avoid a test failure on Windows XP.

Alexandre Julliard julliard at winehq.org
Fri Sep 27 15:56:30 CDT 2019


Module: wine
Branch: master
Commit: 5df86351f0f42a654fe4eb70fde5eb7faa5d71c3
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=5df86351f0f42a654fe4eb70fde5eb7faa5d71c3

Author: Sven Baars <sven.wine at gmail.com>
Date:   Fri Sep 27 17:13:51 2019 +0200

httpapi/tests: Use CancelIo to avoid a test failure on Windows XP.

Signed-off-by: Sven Baars <sven.wine at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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

diff --git a/dlls/httpapi/tests/httpapi.c b/dlls/httpapi/tests/httpapi.c
index abc5c95f0c..5c3b4ec13c 100644
--- a/dlls/httpapi/tests/httpapi.c
+++ b/dlls/httpapi/tests/httpapi.c
@@ -534,7 +534,7 @@ static void test_v1_short_buffer(void)
     ok(!ret, "Got error %u.\n", ret);
     ok(req->RequestId == req_id, "Got request ID %s.\n", wine_dbgstr_longlong(req->RequestId));
 
-    CancelIoEx(queue, &ovl);
+    CancelIo(queue);
 
     ret = HttpRemoveUrl(queue, localhost_urlW);
     ok(!ret, "Got error %u.\n", ret);




More information about the wine-cvs mailing list