From 6cd066f64b9165c1b1f3243844ea32b1f1ba42f5 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 11 Dec 2020 00:35:15 +0100 Subject: [PATCH] lib1564/5: verify that curl_multi_wakeup returns OK --- tests/libtest/lib1564.c | 4 ++-- tests/libtest/lib1565.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/libtest/lib1564.c b/tests/libtest/lib1564.c index 1fe550ac4..8e76e098f 100644 --- a/tests/libtest/lib1564.c +++ b/tests/libtest/lib1564.c @@ -61,7 +61,7 @@ int test(char *URL) /* try a single wakeup */ - multi_wakeup(multi); + res_multi_wakeup(multi); time_before_wait = tutil_tvnow(); multi_poll(multi, NULL, 0, 1000, &numfds); @@ -94,7 +94,7 @@ int test(char *URL) /* try lots of wakeup */ for(i = 0; i < WAKEUP_NUM; ++i) - multi_wakeup(multi); + res_multi_wakeup(multi); time_before_wait = tutil_tvnow(); multi_poll(multi, NULL, 0, 1000, &numfds); diff --git a/tests/libtest/lib1565.c b/tests/libtest/lib1565.c index 832b2ef89..6ea7d4e0c 100644 --- a/tests/libtest/lib1565.c +++ b/tests/libtest/lib1565.c @@ -70,7 +70,7 @@ static void *run_thread(void *ptr) pthread_mutex_unlock(&lock); - multi_wakeup(multi); + res_multi_wakeup(multi); } test_cleanup: