diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-12-04 09:11:13 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-12-04 09:11:13 -0500 |
commit | 11c044e46a027c759b1ac054bd320eb902bca602 (patch) | |
tree | 6309bab887f4256f19b90ac1783da61a4c4463ea /src/test/test_circuitmux.c | |
parent | 11b652acb382b181927d2c31a50e4c8621615083 (diff) | |
download | tor-11c044e46a027c759b1ac054bd320eb902bca602.tar.gz tor-11c044e46a027c759b1ac054bd320eb902bca602.zip |
Initialize libevent in circuitmux/destroy_cell_queue test
Diffstat (limited to 'src/test/test_circuitmux.c')
-rw-r--r-- | src/test/test_circuitmux.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 |