Merge branch 'maint-0.2.8' into release-0.2.8

This commit is contained in:
Nick Mathewson 2016-05-25 16:58:58 -04:00
commit 3e2d061397
2 changed files with 5 additions and 1 deletions

3
changes/bug18668 Normal file
View File

@ -0,0 +1,3 @@
o Minor bugfixes (tests):
- Avoid "WSANOTINITIALISED" warnings in the unit tests. Fixes bug 18668;
bugfix on 0.2.8.1-alpha.

View File

@ -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);