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

Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sven Baars 2019-09-27 17:13:51 +02:00 committed by Alexandre Julliard
parent bfe02fc747
commit 5df86351f0
1 changed files with 1 additions and 1 deletions

View File

@ -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);