mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-10 04:50:37 -04: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);
|
event_base_free(base1);
|
||||||
test_ok = 1;
|
test_ok = 1;
|
||||||
cleanup_test();
|
cleanup_test();
|
||||||
|
global_base = event_init();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -738,7 +739,6 @@ test_event_base_new(void)
|
|||||||
event_base_free(base);
|
event_base_free(base);
|
||||||
test_ok = 1;
|
test_ok = 1;
|
||||||
cleanup_test();
|
cleanup_test();
|
||||||
event_init();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user