summaryrefslogtreecommitdiff
path: root/src/test/test_workqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test_workqueue.c')
-rw-r--r--src/test/test_workqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_workqueue.c b/src/test/test_workqueue.c
index de7884ff99..2a02611479 100644
--- a/src/test/test_workqueue.c
+++ b/src/test/test_workqueue.c
@@ -436,7 +436,7 @@ main(int argc, char **argv)
tor_libevent_exit_loop_after_delay(tor_libevent_get_base(), &limit);
}
- event_base_loop(tor_libevent_get_base(), 0);
+ tor_libevent_run_event_loop(tor_libevent_get_base(), 0);
if (n_sent != opt_n_items || n_received+n_successful_cancel != n_sent) {
printf("%d vs %d\n", n_sent, opt_n_items);