summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-05-25 16:59:46 -0400
committerNick Mathewson <nickm@torproject.org>2016-05-25 16:59:46 -0400
commitb7fac185a6c1b5b3543624234fc83a603e89af8d (patch)
treed45830aa1eea638d59aca3446699de6f0c4e052a /src
parent28cbcd033cadc9dfcabf4e179fc3649d8ec595e2 (diff)
parent36b2b483082eeb43e2aac80cf72b36b35cb48473 (diff)
downloadtor-b7fac185a6c1b5b3543624234fc83a603e89af8d.tar.gz
tor-b7fac185a6c1b5b3543624234fc83a603e89af8d.zip
Merge branch 'maint-0.2.8'
Diffstat (limited to 'src')
-rw-r--r--src/test/testing_common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/testing_common.c b/src/test/testing_common.c
index aeb1fa794d..39c3d02ab1 100644
--- a/src/test/testing_common.c
+++ b/src/test/testing_common.c
@@ -242,6 +242,8 @@ main(int c, const char **v)
options = options_new();
tor_threads_init();
+ network_init();
+
struct tor_libevent_cfg cfg;
memset(&cfg, 0, sizeof(cfg));
tor_libevent_initialize(&cfg);
@@ -284,7 +286,6 @@ main(int c, const char **v)
return 1;
}
rep_hist_init();
- network_init();
setup_directory();
options_init(options);
options->DataDirectory = tor_strdup(temp_dir);