diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-10-03 11:09:44 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-04-05 12:36:05 -0400 |
commit | 39cb04335f9fd5c3268c808bac549f531fe389a3 (patch) | |
tree | 493fabac57156ef8fe53304ded4ba50e25adf3dd /src/test/test-timers.c | |
parent | f0d2733b468984a7749fb7d506318200ca19e48f (diff) | |
download | tor-39cb04335f9fd5c3268c808bac549f531fe389a3.tar.gz tor-39cb04335f9fd5c3268c808bac549f531fe389a3.zip |
Add wrappers for event_base_loopexit and event_base_loopbreak.
Diffstat (limited to 'src/test/test-timers.c')
-rw-r--r-- | src/test/test-timers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-timers.c b/src/test/test-timers.c index a0b5b535c2..1b4466ecc2 100644 --- a/src/test/test-timers.c +++ b/src/test/test-timers.c @@ -50,7 +50,7 @@ timer_cb(tor_timer_t *t, void *arg, const monotime_t *now_mono) // printf("%d / %d\n",n_fired, N_TIMERS); if (n_fired == n_active_timers) { - event_base_loopbreak(tor_libevent_get_base()); + tor_libevent_exit_loop_after_callback(tor_libevent_get_base()); } } |