[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Initialize libevent in circuitmux/destroy_cell_queue test



commit 11c044e46a027c759b1ac054bd320eb902bca602
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Thu Dec 4 09:11:13 2014 -0500

    Initialize libevent in circuitmux/destroy_cell_queue test
---
 src/test/test_circuitmux.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/test/test_circuitmux.c b/src/test/test_circuitmux.c
index e88d18f..20c106a 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

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits