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:
Nick Mathewson 2007-12-16 19:33:52 +00:00
parent 7ab26a2c32
commit d56a34e466

View File

@ -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