From: Nick Mathewson Date: Sun, 16 Dec 2007 19:33:52 +0000 (+0000) Subject: r16991@catbus: nickm | 2007-12-06 15:05:56 -0500 X-Git-Tag: release-2.0.1-alpha~451 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d56a34e4669afa708831554e78afe1759ff774d9;p=libevent 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 --- diff --git a/test/regress.c b/test/regress.c index ac504f5f..993fd8a0 100644 --- a/test/regress.c +++ b/test/regress.c @@ -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