From: Nick Mathewson Date: Thu, 4 Dec 2014 14:11:13 +0000 (-0500) Subject: Initialize libevent in circuitmux/destroy_cell_queue test X-Git-Tag: tor-0.2.6.2-alpha~65 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=11c044e46a027c759b1ac054bd320eb902bca602;p=thirdparty%2Ftor.git Initialize libevent in circuitmux/destroy_cell_queue test --- diff --git a/src/test/test_circuitmux.c b/src/test/test_circuitmux.c index e88d18f061..20c106ab9d 100644 --- a/src/test/test_circuitmux.c +++ b/src/test/test_circuitmux.c @@ -36,7 +36,11 @@ test_cmux_destroy_cell_queue(void *arg) circuit_t *circ = NULL; cell_queue_t *cq = NULL; packed_cell_t *pc = NULL; + tor_libevent_cfg cfg; + memset(&cfg, 0, sizeof(cfg)); + + tor_libevent_initialize(&cfg); scheduler_init(); #ifdef ENABLE_MEMPOOLS