mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
r16991@catbus: nickm | 2007-12-06 15:05:56 -0500
Move event_init in regress.c to the function that actually messed up the current_base value. svn:r598
This commit is contained in:
parent
7ab26a2c32
commit
d56a34e466
@ -716,6 +716,7 @@ test_free_active_base(void)
|
||||
event_base_free(base1);
|
||||
test_ok = 1;
|
||||
cleanup_test();
|
||||
global_base = event_init();
|
||||
}
|
||||
|
||||
static void
|
||||
@ -738,7 +739,6 @@ test_event_base_new(void)
|
||||
event_base_free(base);
|
||||
test_ok = 1;
|
||||
cleanup_test();
|
||||
event_init();
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
x
Reference in New Issue
Block a user