]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Initialize libevent in circuitmux/destroy_cell_queue test
authorNick Mathewson <nickm@torproject.org>
Thu, 4 Dec 2014 14:11:13 +0000 (09:11 -0500)
committerNick Mathewson <nickm@torproject.org>
Thu, 4 Dec 2014 14:11:13 +0000 (09:11 -0500)
src/test/test_circuitmux.c

index e88d18f061c176d7bb827a741229ea5d52ea2374..20c106ab9d51ddd261d160cc48d83ac98781af45 100644 (file)
@@ -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