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

Sven Baars sven.wine at gmail.com
Fri Sep 27 10:13:51 CDT 2019


Signed-off-by: Sven Baars <sven.wine at gmail.com>
---
 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);
-- 
2.17.1




More information about the wine-devel mailing list